Click or drag to resize

ISetupConfigurationLoggingRuleBuilder Interface

Interface for fluent setup of LoggingRules for LoggingConfiguration

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

The ISetupConfigurationLoggingRuleBuilder type exposes the following members.

Properties
  NameDescription
Public propertyConfiguration
LoggingConfiguration being built
(Inherited from ISetupConfigurationTargetBuilder.)
Public propertyLogFactory
LogFactory under configuration
(Inherited from ISetupConfigurationTargetBuilder.)
Public propertyLoggingRule
LoggingRule being built
Public propertyTargets
Collection of targets that should be written to
(Inherited from ISetupConfigurationTargetBuilder.)
Top
Extension Methods
  NameDescription
Public Extension MethodFilterDynamic(Filter, NullableFilterResult)Overloaded.
Apply dynamic filtering logic for advanced control of when to redirect output to target.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterDynamic(FuncLogEventInfo, FilterResult, NullableFilterResult)Overloaded.
Apply dynamic filtering logic for advanced control of when to redirect output to target.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterDynamicIgnore
Dynamic filtering of LogEvent, where it will be ignored when matching filter-method-delegate
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterDynamicLog
Dynamic filtering of LogEvent, where it will be logged when matching filter-method-delegate
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterLevel
Apply fast filtering based on LogLevel. Include LogEvents with severity that equals logLevel.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterLevels
Apply fast filtering based on LogLevel. Include LogEvents with severity between minLevel and maxLevel.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterMaxLevel
Apply fast filtering based on LogLevel. Include LogEvents with same or less severity as maxLevel.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodFilterMinLevel
Apply fast filtering based on LogLevel. Include LogEvents with same or worse severity as minLevel.
(Defined by SetupLoadConfigurationExtensions.)
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 MethodTopRule
Move the LoggingRule to the top, to match before any of the existing LoggingRules
(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 MethodWriteToNil
Discard output from matching Logger, so it will not reach any following LoggingRules.
(Defined by SetupLoadConfigurationExtensions.)
Public Extension MethodWriteToTrace
Write to TraceTarget
(Defined by SetupLoadConfigurationExtensions.)
Top
See Also