Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Identity layout renderer

NLog documentation is a Wiki, which allows registered users to edit its content.
If you want to contribute, please create a user account and contact Jarek to get edit access.

Thread identity information (name and authentication information). 

Supported in

Configuration Syntax

${identity:authType=Boolean:separator=String:name=Boolean
          :isAuthenticated=Boolean}
Read more about using the Configuration File.

Parameters

  • Rendering Options
  • authType - Indicates whether to render Thread.CurrentPrincipal.Identity.AuthenticationType.Boolean Default: True
  • separator - Separator to be used when concatenating parts of identity information. Default: :
  • name - Indicates whether to render Thread.CurrentPrincipal.Identity.Name.Boolean Default: True
  • isAuthenticated - Indicates whether to render Thread.CurrentPrincipal.Identity.IsAuthenticated.Boolean Default: True
Ads by Lake Quincy Media