Skip to content

Processtime Layout Renderer

Rolf Kristensen edited this page Feb 8, 2023 · 6 revisions

The process lifetime in format HH:mm:ss.mmm.

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

Clone this wiki locally