NLog.Targets
Namespace with 26 public types
Classes
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.
DebuggerTarget
Writes log messages to the attached managed debugger.
DebugSystemTarget
Outputs log messages through
DebugTarget
Mock target - useful for testing.
DefaultJsonSerializer
Default class for serialization of values to JSON format.
EventLogTarget
Writes log message to the Event Log.
FileTarget
FileTarget for writing formatted messages to one or more log-files.
JsonSerializeOptions
Options for JSON serialization
LineEndingMode
Line ending mode.
MemoryTarget
Writes log messages to in memory for programmatic retrieval.
MethodCallParameter
A parameter to MethodCall.
MethodCallTarget
Calls the specified static method on each log message and passes contextual parameters to it.
NullTarget
Discards log messages. Used mainly for debugging and benchmarking.
TargetAttribute
Marks class as logging target and attaches a type-alias name for use in NLog configuration.
TargetPropertyWithContext
Attribute details for
Enumerations
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.
Abstract Classes
MethodCallTargetBase
The base class for all targets which call methods (local or remote).
Manages parameters and type coercion.
Target
Represents logging target.
TargetWithContext
Represents target that supports context capture of Properties + Nested-states
TargetWithLayout
Represents target that supports string formatting using layouts.
TargetWithLayoutHeaderAndFooter
Represents target that supports string formatting using layouts.