Click or drag to resize

SetupLogFactoryBuilderExtensions Class

Extension methods to setup general option before loading NLog LoggingConfiguration
Inheritance Hierarchy
SystemObject
  NLogSetupLogFactoryBuilderExtensions

Namespace:  NLog
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public static class SetupLogFactoryBuilderExtensions

The SetupLogFactoryBuilderExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddCallSiteHiddenAssembly
Mark Assembly as hidden, so Assembly methods are excluded when resolving ${callsite} from StackTrace
Public methodStatic memberAddCallSiteHiddenClassType
Mark Type as hidden, so Type methods are excluded when resolving ${callsite} from StackTrace
Public methodStatic memberSetAutoShutdown
Sets whether to automatically call Shutdown on AppDomain.Unload or AppDomain.ProcessExit
Public methodStatic memberSetDefaultCultureInfo
Sets the default culture info to use as FormatProvider.
Public methodStatic memberSetGlobalContextProperty
Updates the dictionary GlobalDiagnosticsContext ${gdc:item=} with the name-value-pair
Public methodStatic memberSetGlobalThreshold
Sets the global log level threshold. Log events below this threshold are not logged.
Public methodStatic memberSetThrowConfigExceptions
Gets or sets a value indicating whether NLogConfigurationException should be thrown on configuration errors
Public methodStatic memberSetTimeSourcAccurateLocal
Configures the global time-source used for all logevents to use AccurateLocalTimeSource
Public methodStatic memberSetTimeSourcAccurateUtc
Configures the global time-source used for all logevents to use AccurateUtcTimeSource
Public methodStatic memberSetTimeSource
Configures the global time-source used for all logevents
Top
See Also