NLog.Targets.Wrappers
Namespace with 20 public types
Classes
AsyncTargetWrapper
Provides asynchronous, buffered execution of target writes.
AutoFlushTargetWrapper
Causes a flush on a wrapped target if LogEvent satisfies the .
If condition isn't set, flushes on each write.
BufferingTargetWrapper
A target that buffers log events and sends them in batches to the wrapped target.
FallbackGroupTarget
Provides fallback-on-error.
FilteringRule
Filtering rule for .
FilteringTargetWrapper
Filters log entries based on a condition.
GroupByTargetWrapper
A target that buffers log events and sends them in batches to the wrapped target.
LimitingTargetWrapper
Limits the number of messages written per timespan to the wrapped target.
LogEventDroppedEventArgs
Arguments for events.
LogEventQueueGrowEventArgs
Raises by when
queue is full
and set to
By default queue doubles it size.
PostFilteringTargetWrapper
Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
RandomizeGroupTarget
Sends log messages to a randomly selected target.
RepeatingTargetWrapper
Repeats each log event the specified number of times.
RetryingTargetWrapper
Retries in case of write error.
RoundRobinGroupTarget
Distributes log events to targets in a round-robin fashion.
SplitGroupTarget
Writes log events to all wrapped targets. For better performance, specify targets directly on the logging rule, optionally using NLog variables.
Enumerations
AsyncTargetWrapperOverflowAction
The action to be taken when the queue overflows.
BufferingTargetWrapperOverflowAction
The action to be taken when the buffer overflows.
Abstract Classes
CompoundTargetBase
A base class for targets which wrap other (multiple) targets
and provide various forms of target routing.
WrapperTargetBase
Base class for targets wrap other (single) targets.