Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Processtime Layout Renderer

Rolf Kristensen edited this page Jul 11, 2026 · 11 revisions

The process lifetime in short sortable format HH:mm:ss.fff.

Platforms Supported: All

See also ${time}, ${date}, ${longdate}, ${shortdate}

Configuration Syntax

${processtime:invariant=Boolean}

Parameters

Rendering Options

  • invariant - Indicates whether to output in invariant time format, and not lookup of current cultureinfo. Boolean Default: true (Before NLog 5.0 the default was false)

    Introduced with NLog 4.5.2

  • culture - Culture used for time format. Default: InvariantCulture

    Introduced with NLog 5.0

Time Source Precision

NLog uses local-time by default, but because conversion from machine-time to local-time has an overhead, then NLog uses cached time-source FastLocal with 15ms time-precision that follows Environment.TickCount. For high time-precision and still fast performance, then consider using Time-source AccurateUtc (Time-precision of 1ms)

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.