-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ShortDate Layout Renderer
Rolf Kristensen edited this page Feb 3, 2023
·
6 revisions
The short date in a sortable format yyyy-MM-dd.
Platforms Supported: All
Alternative ${date:format=yyyy_MM_dd} can be used to customize the DateTime-format.
${shortdate:universalTime=Boolean}
- universalTime - Indicates whether to output UTC time instead of local time. Boolean Default: False
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json