HostName Layout Renderer - NLog/NLog GitHub Wiki

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