SetupLogFactoryBuilderExtensions Methods |
The SetupLogFactoryBuilderExtensions type exposes the following members.
Name | Description | |
---|---|---|
AddCallSiteHiddenAssembly |
Mark Assembly as hidden, so Assembly methods are excluded when resolving ${callsite} from StackTrace
| |
AddCallSiteHiddenClassType |
Mark Type as hidden, so Type methods are excluded when resolving ${callsite} from StackTrace
| |
SetAutoShutdown |
Sets whether to automatically call Shutdown on AppDomain.Unload or AppDomain.ProcessExit
| |
SetDefaultCultureInfo |
Sets the default culture info to use as FormatProvider.
| |
SetGlobalContextProperty |
Updates the dictionary GlobalDiagnosticsContext ${gdc:item=} with the name-value-pair
| |
SetGlobalThreshold |
Sets the global log level threshold. Log events below this threshold are not logged.
| |
SetThrowConfigExceptions |
Gets or sets a value indicating whether NLogConfigurationException should be thrown on configuration errors
| |
SetTimeSourcAccurateLocal |
Configures the global time-source used for all logevents to use AccurateLocalTimeSource | |
SetTimeSourcAccurateUtc |
Configures the global time-source used for all logevents to use AccurateUtcTimeSource | |
SetTimeSource |
Configures the global time-source used for all logevents
|