Last updated: 2006-09-18

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

${qpc} Layout Renderer


High precision timer, based on the value returned from QueryPerformanceCounter() optionally converted to seconds.

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

Parameters:

NameTypeDescription
alignDecimalPointboolean
Align decimal point (emit non-significant zeros)

Default value is: True.

precisioninteger
Number of decimal digits to be included in output.

Default value is: 4.

secondsboolean
Convert the result to seconds by dividing by the result of QueryPerformanceFrequency().

Default value is: True.

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