Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Callsite layout renderer

NLog documentation is currently being re-organized to use the wiki format. Some content is still missing or incomplete.
We need volunteers to help maintain and organize this Wiki. Please contact Jarek if you are interested in helping out.

The call site (class name, method name and source information). 

Supported in

Configuration Syntax

${callsite:className=Boolean:fileName=Boolean:includeSourcePath=Boolean
          :methodName=Boolean}
Read more about using the Configuration File.

Parameters

  • Rendering Options
  • className - Indicates whether to render the class name.Boolean Default: True
  • fileName - Indicates whether to render the source file name and line number.Boolean Default: False
    This parameter is not supported in:
    • NLog v2.0 for Silverlight 2.0
    • NLog v2.0 for Silverlight 3.0
    • NLog v2.0 for Silverlight 4.0
  • includeSourcePath - Indicates whether to include source file path.Boolean Default: True
    This parameter is not supported in:
    • NLog v2.0 for Silverlight 2.0
    • NLog v2.0 for Silverlight 3.0
    • NLog v2.0 for Silverlight 4.0
  • methodName - Indicates whether to render the method name.Boolean Default: True

Fatal error: Call to undefined function ad_script_footer() in /home/jkowalski/nlog-project.org/wiki/skins/NLog.php on line 297