-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Left layout renderer
Rolf Kristensen edited this page Apr 22, 2019
·
5 revisions
Left part of a text.
Platforms Supported: All
Introduced in NLog 4.6
Related:
Explicit usage:
${left:inner=Layout:length=Integer}
Ambient property truncate
can be used as a shortcut (Introduced with NLog ver. 4.6.3)
${message:truncate=80}
Read more about using the Configuration File.
- 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