Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

Performancecounter 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.

The performance counter. 

Supported in

Configuration Syntax

${performancecounter:category=String:counter=String:instance=String
                    :machineName=String}
Read more about using the Configuration File.

Parameters

  • Performance Counter Options
  • category - Name of the counter category. Required.
  • counter - Name of the performance counter. Required.
  • instance - Name of the performance counter instance (e.g. this.Global_).
  • machineName - Name of the machine to read the performance counter from.