Click or drag to resize

LevelFormat Enumeration

Format of the ${level} layout renderer output.

Namespace:  NLog.LayoutRenderers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public enum LevelFormat
Members
  Member nameValueDescription
Name0 Render the LogLevel standard name.
FirstCharacter1 Render the first character of the level.
OneLetter1 Render the first character of the level.
Ordinal2 Render the ordinal (aka number) for the level.
FullName3 Render the LogLevel full name, expanding Warn / Info abbreviations
TriLetter4 Render the LogLevel as 3 letter abbreviations (Trc, Dbg, Inf, Wrn, Err, Ftl)
See Also