NLog Namespace |
| Class | Description | |
|---|---|---|
| GlobalDiagnosticsContext |
Global Diagnostics Context - a dictionary structure to hold per-application-instance values.
| |
| ILoggerExtensions |
Extensions for NLog ILogger.
| |
| LayoutTypedExtensions |
Extensions for NLog LayoutT.
| |
| LogEventInfo |
Represents the logging event.
| |
| LogFactory |
Creates and manages instances of Logger objects.
| |
| LogFactoryT |
Specialized LogFactory that can return instances of custom logger types.
| |
| Logger |
Provides logging interface and utility functions.
| |
| LogLevel |
Defines available log levels.
| |
| LogManager |
Creates and manages instances of Logger objects.
| |
| MessageTemplateFormatMethodAttribute |
Mark a parameter of a method for message templating
| |
| NLogConfigurationException |
Exception thrown during NLog configuration.
| |
| NLogRuntimeException |
Exception thrown during log event processing.
| |
| NLogTraceListener |
TraceListener which routes all messages through NLog.
| |
| NullLogger | ||
| ScopeContext | ScopeContext stores state in the async thread execution context. All LogEvents created
within a scope can include the scope state in the target output. The logical context scope supports
both scope-properties and scope-nested-state-stack (Similar to log4j2 ThreadContext)
| |
| SetupBuilderExtensions |
Extension methods to setup LogFactory options
| |
| SetupExtensionsBuilderExtensions |
Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
| |
| SetupInternalLoggerBuilderExtensions |
Extension methods to setup NLog InternalLogger options
| |
| SetupLoadConfigurationExtensions |
Extension methods to setup NLog LoggingConfiguration | |
| SetupLogFactoryBuilderExtensions |
Extension methods to setup general option before loading NLog LoggingConfiguration
| |
| SetupSerializationBuilderExtensions |
Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
|
| Structure | Description | |
|---|---|---|
| LogEventBuilder |
A fluent builder for logging events to NLog.
|
| Interface | Description | |
|---|---|---|
| IJsonConverter |
Interface for serialization of object values into JSON format
| |
| ILogger |
Provides logging interface and utility functions.
| |
| IValueFormatter |
Render a message template property to a string
|
| Delegate | Description | |
|---|---|---|
| LogMessageFormatter |
Generates a formatted message from the log event
| |
| LogMessageGenerator |
Returns a log message. Used to defer calculation of
the log message until it's actually needed.
|