<PackageReference Include="NLog" Version="6.1.2" />

NLog.LayoutRenderers

Namespace with 63 public types

Classes

 AllEventPropertiesLayoutRenderer Log event context data.
 AmbientPropertyAttribute Designates a property of the class as an ambient property.
 AppDomainLayoutRenderer Used to render the application domain name.
 AppSettingLayoutRenderer Render value for Application setting retrieved from App.config or Web.config file.
 AssemblyVersionLayoutRenderer Renders the assembly version information for the entry assembly or a named assembly.
 BaseDirLayoutRenderer The current application domain's base directory.
 CallSiteFileNameLayoutRenderer The call site source file name. Full callsite
 CallSiteLayoutRenderer The call site (class name, method name and source information).
 CallSiteLineNumberLayoutRenderer The call site source line number. Full callsite
 CounterLayoutRenderer A counter value (increases on each layout rendering).
 CurrentDirLayoutRenderer The current working directory of the application.
 DateLayoutRenderer Current date and time.
 DbNullLayoutRenderer DB null for a database
 DirectorySeparatorLayoutRenderer The OS dependent directory separator
 EnvironmentLayoutRenderer The environment variable.
 EnvironmentUserLayoutRenderer Thread identity information (username).
 EventPropertiesLayoutRenderer Log event context data. See .
 ExceptionDataLayoutRenderer Render information of for the exception passed to the logger call
 ExceptionLayoutRenderer Exception information provided through a call to one of the Logger.*Exception() methods.
 FuncLayoutRenderer A layout renderer which could have different behavior per instance by using a .
 GarbageCollectorInfoLayoutRenderer The information about the garbage collector.
 GdcLayoutRenderer Render a Global Diagnostics Context item. See
 GuidLayoutRenderer Globally-unique identifier (GUID).
 HostNameLayoutRenderer The host name that the process is running on.
 IdentityLayoutRenderer Thread identity information (name and authentication information).
 InstallContextLayoutRenderer Lookup parameter value from
 LayoutRendererAttribute Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
 LevelLayoutRenderer The log level.
 LiteralLayoutRenderer A string literal.
 LoggerNameLayoutRenderer The logger name.
 LongDateLayoutRenderer The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
 MachineNameLayoutRenderer The machine name that the process is running on.
 MessageLayoutRenderer The formatted log message.
 NewLineLayoutRenderer A newline literal.
 NLogDirLayoutRenderer The directory where NLog.dll is located.
 ProcessDirLayoutRenderer The executable directory from the FileName, using the current process
 ProcessIdLayoutRenderer The identifier of the current process.
 ProcessInfoLayoutRenderer The information about the running process.
 ProcessNameLayoutRenderer The name of the current process.
 ProcessTimeLayoutRenderer The process time in format HH:mm:ss.mmm.
 ScopeContextIndentLayoutRenderer Renders the nested states from like a callstack
 ScopeContextNestedStatesLayoutRenderer Renders the nested states from like a callstack
 ScopeContextPropertyLayoutRenderer Renders specified property-item from
 ScopeContextTimingLayoutRenderer Timing Renderer (Async scope)
 SequenceIdLayoutRenderer The sequence ID Marked obsolete with NLog 6.0, instead use ${counter}
 ShortDateLayoutRenderer The short date in a sortable format yyyy-MM-dd.
 SpecialFolderApplicationDataLayoutRenderer System special folder path from
 SpecialFolderCommonApplicationDataLayoutRenderer System special folder path from
 SpecialFolderLayoutRenderer System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
 SpecialFolderLocalApplicationDataLayoutRenderer System special folder path from
 StackTraceLayoutRenderer Stack trace renderer.
 TempDirLayoutRenderer A temporary directory.
 ThreadIdLayoutRenderer The identifier of the current thread.
 ThreadNameLayoutRenderer The name of the current thread.
 TicksLayoutRenderer The Ticks value of current date and time.
 TimeLayoutRenderer The time in a 24-hour, sortable format HH:mm:ss.mmmm.
 VariableLayoutRenderer Render a NLog Configuration variable assigned from API or loaded from config-file

Enumerations

 AssemblyVersionType Type of assembly version to retrieve.
 GarbageCollectorProperty Gets or sets the property of System.GC to retrieve.
 LevelFormat Format of the ${level} layout renderer output.
 ProcessInfoProperty Property of System.Diagnostics.Process to retrieve.
 StackTraceFormat Format of the ${stacktrace} layout renderer output.

Abstract Classes

 LayoutRenderer Render environmental information related to logging events.