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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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