NLog.Targets Namespace |
Class | Description | |
---|---|---|
AsyncTaskTarget |
Abstract Target with async Task support
| |
ChainsawTarget |
Sends log messages to the remote instance of Chainsaw application from log4j.
| |
ColoredConsoleTarget |
Writes log messages to the console with customizable coloring.
| |
ConsoleRowHighlightingRule |
The row-highlighting condition.
| |
ConsoleTarget |
Writes log messages to the console.
| |
ConsoleWordHighlightingRule |
Highlighting rule for Win32 colorful console.
| |
DatabaseCommandInfo |
Information about database command + parameters.
| |
DatabaseObjectPropertyInfo |
Information about object-property for the database-connection-object
| |
DatabaseParameterInfo |
Represents a parameter to a Database target.
| |
DatabaseTarget |
Writes log messages to the database using an ADO.NET provider.
| |
DebuggerTarget |
Writes log messages to the attached managed debugger.
| |
DebugSystemTarget |
Outputs log messages through WriteLine(String) | |
DebugTarget |
Mock target - useful for testing.
| |
DefaultJsonSerializer |
Default class for serialization of values to JSON format.
| |
DiagnosticListenerTarget | ||
EventLogTarget |
Writes log message to the Event Log.
| |
FileTarget |
Writes log messages to one or more files.
| |
JsonSerializeOptions |
Options for JSON serialization
| |
LineEndingMode |
Line ending mode.
| |
LineEndingModeLineEndingModeConverter |
Provides a type converter to convert LineEndingMode objects to and from other representations.
| |
LogReceiverWebServiceTarget |
Sends log messages to a NLog Receiver Service (using WCF or Web Services).
| |
MailTarget |
Sends log messages by email using SMTP protocol.
| |
MemoryTarget |
Writes log messages to Logs in memory for programmatic retrieval.
| |
MessageQueueTarget |
Writes log message to the specified message queue handled by MSMQ.
| |
MethodCallParameter |
A parameter to MethodCall.
| |
MethodCallTarget |
Calls the specified static method on each log message and passes contextual parameters to it.
| |
MethodCallTargetBase |
The base class for all targets which call methods (local or remote).
Manages parameters and type coercion.
| |
NetworkLogEventDroppedEventArgs |
Arguments for LogEventDropped events.
| |
NetworkTarget |
Sends log messages over the network.
| |
NLogViewerParameterInfo |
Represents a parameter to a NLogViewer target.
| |
NLogViewerTarget |
Sends log messages to the remote instance of NLog Viewer.
| |
NullTarget |
Discards log messages. Used mainly for debugging and benchmarking.
| |
OutputDebugStringTarget |
Outputs log messages through the OutputDebugString() Win32 API.
| |
PerformanceCounterTarget |
Increments specified performance counter on each write.
| |
Target |
Represents logging target.
| |
TargetAttribute |
Marks class as logging target and attaches a type-alias name for use in NLog configuration.
| |
TargetPropertyWithContext |
Attribute details for TargetWithContext | |
TargetWithContext |
Represents target that supports context capture of ScopeContext Properties + Nested-states
| |
TargetWithLayout |
Represents target that supports string formatting using layouts.
| |
TargetWithLayoutHeaderAndFooter |
Represents target that supports string formatting using layouts.
| |
TraceTarget |
Sends log messages through System.Diagnostics.Trace.
| |
WebServiceTarget |
Calls the specified web service on each log message.
|
Interface | Description | |
---|---|---|
IFileCompressor | FileTarget may be configured to compress archived files in a custom way
by setting FileCompressor before logging your first event.
|
Enumeration | Description | |
---|---|---|
ArchiveNumberingMode |
Specifies the way archive numbering is performed.
| |
ConsoleOutputColor |
Colored console output color.
| |
EventLogTargetOverflowAction |
Action that should be taken if the message is greater than
the max message size allowed by the Event Log.
| |
FileArchivePeriod |
Modes of archiving files based on time.
| |
FilePathKind |
Type of filepath
| |
NetworkLogEventDroppedReason |
The reason why log event was dropped by NetworkTarget | |
NetworkTargetCompressionType |
Type of compression for protocol payload
| |
NetworkTargetConnectionsOverflowAction |
The action to be taken when there are more connections then the max.
| |
NetworkTargetOverflowAction |
Action that should be taken if the message overflows.
| |
NetworkTargetQueueOverflowAction |
The action to be taken when the queue overflows.
| |
SmtpAuthenticationMode |
SMTP authentication modes.
| |
WebServiceProtocol |
Web service protocol.
| |
WebServiceProxyType |
Web Service Proxy Configuration Type
| |
Win32FileAttributes |
Win32 file attributes.
|