Click or drag to resize

ISetupLogFactoryBuilder Interface

Interface for fluent setup of LogFactory options

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public interface ISetupLogFactoryBuilder

The ISetupLogFactoryBuilder type exposes the following members.

Properties
  NameDescription
Public propertyLogFactory
LogFactory under configuration
Top
Extension Methods
  NameDescription
Public Extension MethodAddCallSiteHiddenAssembly
Mark Assembly as hidden, so Assembly methods are excluded when resolving ${callsite} from StackTrace
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodAddCallSiteHiddenClassType
Mark Type as hidden, so Type methods are excluded when resolving ${callsite} from StackTrace
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetAutoShutdown
Sets whether to automatically call Shutdown on AppDomain.Unload or AppDomain.ProcessExit
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetDefaultCultureInfo
Sets the default culture info to use as FormatProvider.
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetGlobalContextProperty
Updates the dictionary GlobalDiagnosticsContext ${gdc:item=} with the name-value-pair
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetGlobalThreshold
Sets the global log level threshold. Log events below this threshold are not logged.
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetThrowConfigExceptions
Gets or sets a value indicating whether NLogConfigurationException should be thrown on configuration errors
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetTimeSourcAccurateLocal
Configures the global time-source used for all logevents to use AccurateLocalTimeSource
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetTimeSourcAccurateUtc
Configures the global time-source used for all logevents to use AccurateUtcTimeSource
(Defined by SetupLogFactoryBuilderExtensions.)
Public Extension MethodSetTimeSource
Configures the global time-source used for all logevents
(Defined by SetupLogFactoryBuilderExtensions.)
Top
See Also