SetupLoadConfigurationExtensions Class |
Namespace: NLog
The SetupLoadConfigurationExtensions type exposes the following members.
Name | Description | |
---|---|---|
FilterDynamic(ISetupConfigurationLoggingRuleBuilder, Filter, NullableFilterResult) |
Apply dynamic filtering logic for advanced control of when to redirect output to target.
| |
FilterDynamic(ISetupConfigurationLoggingRuleBuilder, FuncLogEventInfo, FilterResult, NullableFilterResult) |
Apply dynamic filtering logic for advanced control of when to redirect output to target.
| |
FilterDynamicIgnore |
Dynamic filtering of LogEvent, where it will be ignored when matching filter-method-delegate
| |
FilterDynamicLog |
Dynamic filtering of LogEvent, where it will be logged when matching filter-method-delegate
| |
FilterLevel |
Apply fast filtering based on LogLevel. Include LogEvents with severity that equals logLevel.
| |
FilterLevels |
Apply fast filtering based on LogLevel. Include LogEvents with severity between minLevel and maxLevel.
| |
FilterMaxLevel |
Apply fast filtering based on LogLevel. Include LogEvents with same or less severity as maxLevel.
| |
FilterMinLevel |
Apply fast filtering based on LogLevel. Include LogEvents with same or worse severity as minLevel.
| |
FirstTarget(ISetupConfigurationTargetBuilder) |
Returns first target registered
| |
FirstTargetT(ISetupConfigurationTargetBuilder) |
Returns first target registered with the specified type
| |
ForLogger(ISetupLoadConfigurationBuilder, String, String) |
Defines LoggingRule for redirecting output from matching Logger to wanted targets.
| |
ForLogger(ISetupLoadConfigurationBuilder, LogLevel, String, String) |
Defines LoggingRule for redirecting output from matching Logger to wanted targets.
| |
ForTarget |
Defines LoggingRule for redirecting output from matching Logger to wanted targets.
| |
SetGlobalContextProperty |
Updates the dictionary GlobalDiagnosticsContext ${gdc:item=} with the name-value-pair
| |
SetTimeSource |
Configures the global time-source used for all logevents
| |
TopRule |
Move the LoggingRule to the top, to match before any of the existing LoggingRules | |
WithAsync |
Applies AsyncTargetWrapper for existing Targets for asynchronous background writing
| |
WithAutoFlush |
Applies AutoFlushTargetWrapper for existing Targets for flushing after conditional event
| |
WithBuffering |
Applies BufferingTargetWrapper for existing Targets for throttled writing
| |
WithFallback |
Applies FallbackGroupTarget for existing Targets to fallback on failure.
| |
WithRetry |
Applies RetryingTargetWrapper for existing Targets for retrying after failure
| |
WithWrapper |
Applies target wrapper for existing Targets | |
WriteTo(ISetupConfigurationTargetBuilder, ISetupConfigurationTargetBuilder) |
Redirect output from matching Logger to the provided targetBuilder | |
WriteTo(ISetupConfigurationTargetBuilder, Target) |
Redirect output from matching Logger to the provided target | |
WriteTo(ISetupConfigurationTargetBuilder, Target) |
Redirect output from matching Logger to the provided targets | |
WriteToColoredConsole |
Write to ColoredConsoleTarget and color log-messages based on LogLevel | |
WriteToConsole |
Write to ConsoleTarget | |
WriteToDebug |
Write to DebugSystemTarget | |
WriteToDebugConditional |
Write to DebugSystemTarget (when DEBUG-build)
| |
WriteToFile |
Write to FileTarget | |
WriteToMethodCall |
Write to MethodCallTarget | |
WriteToNil |
Discard output from matching Logger, so it will not reach any following LoggingRules.
| |
WriteToTrace |
Write to TraceTarget |