Skip to content

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

Configuration Syntax

${hostname}

Remarks

See also ${machinename} For NetBIOS name

See also ${local-ip} For IP Address

Clone this wiki locally