Class NullLogger
Current version: 3.4
Implementation of ILogger that discards all messages (but still fires events).
Implements
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsLogging
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class NullLogger : LoggerBase, ILogger
Properties
MinimumLogLevel
Gets or sets the minimum enabled log level.
Declaration
RequestResponse
public override LogLevel MinimumLogLevel { get; }
Property Value
Type | Description |
---|---|
LogLevel |
Overrides
Methods
LogDebug(string)
Logs debug-level information.
Declaration
RequestResponse
protected override void LogDebug(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
The message to log. |
Overrides
LogError(Exception)
Logs error-level information.
Declaration
RequestResponse
protected override void LogError(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception |
The exception to log. |
Overrides
LogError(string, Exception)
Logs error-level information.
Declaration
RequestResponse
protected override void LogError(string message, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
string | message |
The message to log. |
Exception | exception |
The exception to log. |
Overrides
LogInfo(string)
Logs info-level information.
Declaration
RequestResponse
protected override void LogInfo(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
The message to log. |
Overrides
LogWarn(string)
Logs warning-level information.
Declaration
RequestResponse
protected override void LogWarn(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
The message to log. |