Click or drag to resize

ISetupConfigurationTargetBuilder Interface

Interface for fluent setup of target for LoggingRule

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public interface ISetupConfigurationTargetBuilder

The ISetupConfigurationTargetBuilder type exposes the following members.

Properties
  NameDescription
Public propertyConfiguration
LoggingConfiguration being built
Public propertyLogFactory
LogFactory under configuration
Public propertyTargets
Collection of targets that should be written to
Top
Extension Methods
  NameDescription
Public Extension MethodFirstTargetOverloaded.
Returns first target registered
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFirstTargetTOverloaded.
Returns first target registered with the specified type
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithAsync
Applies AsyncTargetWrapper for existing Targets for asynchronous background writing
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithAutoFlush
Applies AutoFlushTargetWrapper for existing Targets for flushing after conditional event
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithBuffering
Applies BufferingTargetWrapper for existing Targets for throttled writing
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithFallback
Applies FallbackGroupTarget for existing Targets to fallback on failure.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithRetry
Applies RetryingTargetWrapper for existing Targets for retrying after failure
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWithWrapper
Applies target wrapper for existing Targets
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteTo(ISetupConfigurationTargetBuilder)Overloaded.
Redirect output from matching Logger to the provided targetBuilder
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteTo(Target)Overloaded.
Redirect output from matching Logger to the provided target
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteTo(Target)Overloaded.
Redirect output from matching Logger to the provided targets
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToColoredConsole
Write to ColoredConsoleTarget and color log-messages based on LogLevel
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToConsole
Write to ConsoleTarget
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToDebug (Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToDebugConditional
Write to DebugSystemTarget (when DEBUG-build)
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToFile
Write to FileTarget
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToMethodCall (Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToTrace
Write to TraceTarget
(Defined by SetupLoadConfigurationExtensions.)
Top
See Also