Click or drag to resize

NLog.Targets.Wrappers Namespace

Targets which wraps other targets
Classes
  ClassDescription
Public classCode exampleAsyncTargetWrapper
Provides asynchronous, buffered execution of target writes.
Public classCode exampleAutoFlushTargetWrapper
Causes a flush on a wrapped target if LogEvent satisfies the Condition. If condition isn't set, flushes on each write.
Public classBufferingTargetWrapper
A target that buffers log events and sends them in batches to the wrapped target.
Public classCompoundTargetBase
A base class for targets which wrap other (multiple) targets and provide various forms of target routing.
Public classCode exampleFallbackGroupTarget
Provides fallback-on-error.
Public classFilteringRule
Filtering rule for PostFilteringTargetWrapper.
Public classCode exampleFilteringTargetWrapper
Filters log entries based on a condition.
Public classGroupByTargetWrapper
A target that buffers log events and sends them in batches to the wrapped target.
Public classImpersonatingTargetWrapper
Impersonates another user for the duration of the write.
Public classLimitingTargetWrapper
Limits the number of messages written per timespan to the wrapped target.
Public classLogEventDroppedEventArgs
Arguments for LogEventDropped events.
Public classLogEventQueueGrowEventArgs
Raises by AsyncRequestQueue when queue is full and OnOverflow set to Grow By default queue doubles it size.
Public classCode examplePostFilteringTargetWrapper
Filters buffered log entries based on a set of conditions that are evaluated on a group of events.
Public classCode exampleRandomizeGroupTarget
Sends log messages to a randomly selected target.
Public classCode exampleRepeatingTargetWrapper
Repeats each log event the specified number of times.
Public classCode exampleRetryingTargetWrapper
Retries in case of write error.
Public classCode exampleRoundRobinGroupTarget
Distributes log events to targets in a round-robin fashion.
Public classCode exampleSplitGroupTarget
Writes log events to all targets.
Public classWrapperTargetBase
Base class for targets wrap other (single) targets.
Enumerations
  EnumerationDescription
Public enumerationAsyncTargetWrapperOverflowAction
The action to be taken when the queue overflows.
Public enumerationBufferingTargetWrapperOverflowAction
The action to be taken when the buffer overflows.
Public enumerationLogOnProviderType
Logon provider.
Public enumerationSecurityImpersonationLevel
Impersonation level.
Public enumerationSecurityLogOnType
Logon type.