Last updated: 2006-09-18

This website is based on NLog v1.0. Click here to view the documentation for other versions.

${performancecounter} Layout Renderer


The performance counter.

AssemblyClass.NET Framework.NET CFMono on WindowsMono on Unix
1.01.12.01.02.01.02.01.02.0
NLog.dllNLog.LayoutRenderers.PerformanceCounterLayoutRenderer  

Parameters:

NameTypeDescription
categorystring
Name of the counter category.
counterstring
Name of the performance counter.
instancestring
Name of the performance counter instance (e.g. _Global_).
machineNamestring
Name of the machine to read the performance counter from.
culturestring
The culture name to be used for rendering.
cultureInfoCultureInfo
The CultureInfo to be used for rendering.
fixedLengthboolean
Trim the rendered text to the AbsolutePadding value.

Default value is: False.

lowerCaseboolean
Render an upper-case string.

Default value is: False.

padCharacterChar
The padding character.
paddinginteger
Padding value.
upperCaseboolean
Render an upper-case string.

Default value is: False.


Back to the layout renderer list.
Webwww.nlog-project.org