NLog.Targets Namespace |
| Class | Description | |
|---|---|---|
| AsyncTaskTarget |
Abstract Target with async Task support
| |
| AtomicFileTarget |
Extended standard FileTarget with atomic file append for multi-process logging to the same file
| |
| 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.
| |
| ConsoleWordHighlightingRuleRegex |
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 |
Redirects NLog LogEvents to named DiagnosticSource using DiagnosticListener | |
| EventLogTarget |
Writes log message to the Event Log.
| |
| FileTarget |
FileTarget for writing formatted messages to one or more log-files.
| |
| GelfTarget |
Sends log messages to GrayLog server using either TCP or UDP with GELF-format
| |
| GZipFileTarget |
Extended standard FileTarget with GZip compression as part of file-logging
| |
| JsonSerializeOptions |
Options for JSON serialization
| |
| LineEndingMode |
Line ending mode.
| |
| LineEndingModeLineEndingModeConverter |
Provides a type converter to convert LineEndingMode objects to and from other representations.
| |
| Log4JXmlTarget |
Sends log messages to the remote instance of Chainsaw / NLogViewer application using Log4J Xml
| |
| LogReceiverWebServiceTarget |
Sends log messages to a NLog Receiver Service (using WCF or Web Services).
| |
| 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 |
NetworkTarget for sending messages over the network using TCP / UDP sockets
| |
| 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.
| |
| SplunkTarget |
Sends log messages to Splunk server using either TCP or UDP with Splunk-JSON-format
| |
| SyslogTarget |
Sends log messages to Syslog server using either TCP or UDP with format Rfc3164 or Rfc5424
| |
| 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.
|
| Enumeration | Description | |
|---|---|---|
| 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.
| |
| 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.
| |
| WebServiceProtocol |
Web service protocol.
| |
| WebServiceProxyType |
Web Service Proxy Configuration Type
|