We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Render value retrieved from Windows Performance Counter.
Platforms Supported: Limited - Windows only and requires nuget-package NLog.PerformanceCounter since NLog 5.0
${performancecounter:Category=String:Counter=PerformanceCounterType:Instance=String :IncrementValue=Integer:MachineName:string format=String:culture=Culture}
NLog 4.6 will automatically use current process as Instance-Id when Category = "Process" (Supports multi-instance)
Category
Format - Format string for conversion from float to string.
Introduced with NLog v4.6
Culture - Culture used for rendering. Culture
Culture