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}
${processtime:invariant=Boolean}
-
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
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json