-
Notifications
You must be signed in to change notification settings - Fork 1.4k
HostName Layout Renderer
Rolf Kristensen edited this page Jan 12, 2023
·
7 revisions
The computer DNS HostName that the process is running on.
Platforms Supported: All
Introduced with NLog 4.6
${hostname}
See also ${machinename} For NetBIOS name
See also ${local-ip} For IP Address
- 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