|
LoggerSuppressLogMessages Method
|
Sets a flag that will prevent log messages from being raised on this thread.
Remember to dispose of the callback to remove this suppression.
Namespace: GSF.DiagnosticsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntaxpublic static IDisposable SuppressLogMessages()
Public Shared Function SuppressLogMessages As IDisposable
public:
static IDisposable^ SuppressLogMessages()
static member SuppressLogMessages : unit -> IDisposable
GSF.Diagnostics.Logger.SuppressLogMessages = function();
View SourceReturn Value
IDisposable
See Also