Click or drag to resize

NLog.LayoutRenderers Namespace

Non-wrapper layout renderers
Classes
  ClassDescription
Public classActivityTraceLayoutRenderer
Public classAllEventPropertiesLayoutRenderer
Log event context data.
Public classCode exampleAmbientPropertyAttribute
Designates a property of the class as an ambient property.
Public classAppDomainLayoutRenderer
Used to render the application domain name.
Public classAppSettingLayoutRenderer
Render value for Application setting retrieved from App.config or Web.config file.
Public classAssemblyVersionLayoutRenderer
Renders the assembly version information for the entry assembly or a named assembly.
Public classBaseDirLayoutRenderer
The current application domain's base directory.
Public classCallSiteFileNameLayoutRenderer
The call site source file name. Full callsite CallSiteLayoutRenderer
Public classCallSiteLayoutRenderer
The call site (class name, method name and source information).
Public classCallSiteLineNumberLayoutRenderer
The call site source line number. Full callsite CallSiteLayoutRenderer
Public classCounterLayoutRenderer
A counter value (increases on each layout rendering).
Public classCurrentDirLayoutRenderer
The current working directory of the application.
Public classDateLayoutRenderer
Current date and time.
Public classDbNullLayoutRenderer
DB null for a database
Public classDirectorySeparatorLayoutRenderer
The OS dependent directory separator
Public classEnvironmentLayoutRenderer
The environment variable.
Public classEnvironmentUserLayoutRenderer
Thread identity information (username).
Public classEventPropertiesLayoutRenderer
Log event context data. See Properties.
Public classExceptionDataLayoutRenderer
Render information of Data for the exception passed to the logger call
Public classExceptionLayoutRenderer
Exception information provided through a call to one of the Logger.*Exception() methods.
Public classFileContentsLayoutRenderer
Renders contents of the specified file.
Public classFuncLayoutRenderer
A layout renderer which could have different behavior per instance by using a FuncTResult.
Public classGarbageCollectorInfoLayoutRenderer
The information about the garbage collector.
Public classGdcLayoutRenderer
Render a Global Diagnostics Context item. See GlobalDiagnosticsContext
Public classGuidLayoutRenderer
Globally-unique identifier (GUID).
Public classHostNameLayoutRenderer
The host name that the process is running on.
Public classIdentityLayoutRenderer
Thread identity information (name and authentication information).
Public classInstallContextLayoutRenderer
Lookup parameter value from Parameters
Public classLayoutRenderer
Render environmental information related to logging events.
Public classLayoutRendererAttribute
Marks class as layout-renderer and attaches a type-alias name for use in NLog configuration.
Public classLevelLayoutRenderer
The log level.
Public classLiteralLayoutRenderer
A string literal.
Public classLocalIpAddressLayoutRenderer
The IP address from the network interface card (NIC) on the local machine
Public classLog4JXmlEventLayoutRenderer
XML event description compatible with log4j, Chainsaw and NLogViewer.
Public classLoggerNameLayoutRenderer
The logger name.
Public classLongDateLayoutRenderer
The date and time in a long, sortable format yyyy-MM-dd HH:mm:ss.ffff.
Public classMachineNameLayoutRenderer
The machine name that the process is running on.
Public classMdcLayoutRenderer Obsolete.
Obsolete and replaced by ScopeContextPropertyLayoutRenderer with NLog v5. Render Mapped Diagnostics Logical (MDC) from MappedDiagnosticsContext
Public classMdlcLayoutRenderer Obsolete.
Obsolete and replaced by ScopeContextPropertyLayoutRenderer with NLog v5. Render Mapped Diagnostics Logical Context (MDLC) from MappedDiagnosticsLogicalContext
Public classMessageLayoutRenderer
The formatted log message.
Public classNdcLayoutRenderer Obsolete.
Obsolete and replaced by ScopeContextNestedStatesLayoutRenderer with NLog v5. Render Nested Diagnostic Context (NDC) from NestedDiagnosticsContext
Public classNdlcLayoutRenderer Obsolete.
Obsolete and replaced by ScopeContextNestedStatesLayoutRenderer with NLog v5. Render Nested Diagnostic Context (NDLC) from NestedDiagnosticsLogicalContext
Public classNdlcTimingLayoutRenderer Obsolete.
Obsolete and replaced by ScopeContextTimingLayoutRenderer with NLog v5. Render Nested Diagnostic Context (NDLC) timings from NestedDiagnosticsLogicalContext
Public classNewLineLayoutRenderer
A newline literal.
Public classNLogDirLayoutRenderer
The directory where NLog.dll is located.
Public classPerformanceCounterLayoutRenderer
The performance counter.
Public classProcessDirLayoutRenderer
The executable directory from the MainModule FileName, using the current process GetCurrentProcess
Public classProcessIdLayoutRenderer
The identifier of the current process.
Public classProcessInfoLayoutRenderer
The information about the running process.
Public classProcessNameLayoutRenderer
The name of the current process.
Public classProcessTimeLayoutRenderer
The process time in format HH:mm:ss.mmm.
Public classRegistryLayoutRenderer
A value from the Registry.
Public classScopeContextIndentLayoutRenderer
Renders the nested states from ScopeContext like a callstack
Public classScopeContextNestedStatesLayoutRenderer
Renders the nested states from ScopeContext like a callstack
Public classScopeContextPropertyLayoutRenderer
Renders specified property-item from ScopeContext
Public classScopeContextTimingLayoutRenderer
ScopeContext Timing Renderer (Async scope)
Public classSequenceIdLayoutRenderer
The sequence ID
Public classShortDateLayoutRenderer
The short date in a sortable format yyyy-MM-dd.
Public classSpecialFolderApplicationDataLayoutRenderer
System special folder path from ApplicationData
Public classSpecialFolderCommonApplicationDataLayoutRenderer
System special folder path from CommonApplicationData
Public classSpecialFolderLayoutRenderer
System special folder path (includes My Documents, My Music, Program Files, Desktop, and more).
Public classSpecialFolderLocalApplicationDataLayoutRenderer
System special folder path from LocalApplicationData
Public classStackTraceLayoutRenderer
Stack trace renderer.
Public classTempDirLayoutRenderer
A temporary directory.
Public classThreadIdLayoutRenderer
The identifier of the current thread.
Public classThreadNameLayoutRenderer
The name of the current thread.
Public classTicksLayoutRenderer
The Ticks value of current date and time.
Public classTimeLayoutRenderer
The time in a 24-hour, sortable format HH:mm:ss.mmmm.
Public classTraceActivityIdLayoutRenderer
A renderer that puts into log a System.Diagnostics trace correlation id.
Public classVariableLayoutRenderer
Render a NLog Configuration variable assigned from API or loaded from config-file
Public classWindowsIdentityLayoutRenderer
Thread Windows identity information (username).
Enumerations
  EnumerationDescription
Public enumerationActivityTraceProperty
Public enumerationAssemblyVersionType
Type of assembly version to retrieve.
Public enumerationGarbageCollectorProperty
Gets or sets the property of System.GC to retrieve.
Public enumerationLevelFormat
Format of the ${level} layout renderer output.
Public enumerationProcessInfoProperty
Property of System.Diagnostics.Process to retrieve.
Public enumerationStackTraceFormat
Format of the ${stacktrace} layout renderer output.