Interface ILoggerProvider
- Namespace
- Dynamicweb.Logging
- Assembly
- Dynamicweb.Core.dll
Defines operations for logger providers and implemented by the Log
Methods
DisableTracing()
Turns off system-wide tracing. This is useful once debugging is finished.
EnableTracing()
Turns on system-wide tracing. When tracing is enabled, all Log
GetLogger(string)
Gets an ILogger instance ready to use.
Parameters
Returns
GetLogger(string, string)
Gets an ILogger instance ready to use.
Parameters
name
stringThe name of the ILogger to get.
identifier
stringAn identifier that is added to the log. Can be used to show association, i.e. Order ID.
Returns
ResetGlobalLogThreshold()
Resets the global logging threshold to the default Log
SetGlobalLogThreshold(LogLevel)
Sets the global logging threshold. Any Log