ISetupConfigurationLoggingRuleBuilder Interface |
Namespace: NLog.Config
The ISetupConfigurationLoggingRuleBuilder type exposes the following members.
Name | Description | |
---|---|---|
Configuration |
LoggingConfiguration being built
(Inherited from ISetupConfigurationTargetBuilder.) | |
LogFactory |
LogFactory under configuration
(Inherited from ISetupConfigurationTargetBuilder.) | |
LoggingRule |
LoggingRule being built
| |
Targets |
Collection of targets that should be written to
(Inherited from ISetupConfigurationTargetBuilder.) |
Name | Description | |
---|---|---|
FilterDynamic(Filter, NullableFilterResult) | Overloaded.
Apply dynamic filtering logic for advanced control of when to redirect output to target.
(Defined by SetupLoadConfigurationExtensions.) | |
FilterDynamic(FuncLogEventInfo, FilterResult, NullableFilterResult) | Overloaded.
Apply dynamic filtering logic for advanced control of when to redirect output to target.
(Defined by SetupLoadConfigurationExtensions.) | |
FilterDynamicIgnore |
Dynamic filtering of LogEvent, where it will be ignored when matching filter-method-delegate
(Defined by SetupLoadConfigurationExtensions.) | |
FilterDynamicLog |
Dynamic filtering of LogEvent, where it will be logged when matching filter-method-delegate
(Defined by SetupLoadConfigurationExtensions.) | |
FilterLevel |
Apply fast filtering based on LogLevel. Include LogEvents with severity that equals logLevel.
(Defined by SetupLoadConfigurationExtensions.) | |
FilterLevels |
Apply fast filtering based on LogLevel. Include LogEvents with severity between minLevel and maxLevel.
(Defined by SetupLoadConfigurationExtensions.) | |
FilterMaxLevel |
Apply fast filtering based on LogLevel. Include LogEvents with same or less severity as maxLevel.
(Defined by SetupLoadConfigurationExtensions.) | |
FilterMinLevel |
Apply fast filtering based on LogLevel. Include LogEvents with same or worse severity as minLevel.
(Defined by SetupLoadConfigurationExtensions.) | |
FirstTarget | Overloaded.
Returns first target registered
(Defined by SetupLoadConfigurationExtensions.) | |
FirstTargetT | Overloaded.
Returns first target registered with the specified type
(Defined by SetupLoadConfigurationExtensions.) | |
TopRule |
Move the LoggingRule to the top, to match before any of the existing LoggingRules (Defined by SetupLoadConfigurationExtensions.) | |
WithAsync |
Applies AsyncTargetWrapper for existing Targets for asynchronous background writing
(Defined by SetupLoadConfigurationExtensions.) | |
WithAutoFlush |
Applies AutoFlushTargetWrapper for existing Targets for flushing after conditional event
(Defined by SetupLoadConfigurationExtensions.) | |
WithBuffering |
Applies BufferingTargetWrapper for existing Targets for throttled writing
(Defined by SetupLoadConfigurationExtensions.) | |
WithFallback |
Applies FallbackGroupTarget for existing Targets to fallback on failure.
(Defined by SetupLoadConfigurationExtensions.) | |
WithRetry |
Applies RetryingTargetWrapper for existing Targets for retrying after failure
(Defined by SetupLoadConfigurationExtensions.) | |
WithWrapper |
Applies target wrapper for existing Targets (Defined by SetupLoadConfigurationExtensions.) | |
WriteTo(ISetupConfigurationTargetBuilder) | Overloaded.
Redirect output from matching Logger to the provided targetBuilder (Defined by SetupLoadConfigurationExtensions.) | |
WriteTo(Target) | Overloaded.
Redirect output from matching Logger to the provided target (Defined by SetupLoadConfigurationExtensions.) | |
WriteTo(Target) | Overloaded.
Redirect output from matching Logger to the provided targets (Defined by SetupLoadConfigurationExtensions.) | |
WriteToColoredConsole |
Write to ColoredConsoleTarget and color log-messages based on LogLevel (Defined by SetupLoadConfigurationExtensions.) | |
WriteToConsole |
Write to ConsoleTarget (Defined by SetupLoadConfigurationExtensions.) | |
WriteToDebug |
Write to DebugSystemTarget (Defined by SetupLoadConfigurationExtensions.) | |
WriteToDebugConditional |
Write to DebugSystemTarget (when DEBUG-build)
(Defined by SetupLoadConfigurationExtensions.) | |
WriteToFile |
Write to FileTarget (Defined by SetupLoadConfigurationExtensions.) | |
WriteToMethodCall |
Write to MethodCallTarget (Defined by SetupLoadConfigurationExtensions.) | |
WriteToNil |
Discard output from matching Logger, so it will not reach any following LoggingRules.
(Defined by SetupLoadConfigurationExtensions.) | |
WriteToTrace |
Write to TraceTarget (Defined by SetupLoadConfigurationExtensions.) |