Skip to content

ILogger

Represents a logger for recording log messages.

Fields:

Loglevels Level

Gets or sets the minimum severity level for logging.

ILogOutput Output

Gets or sets the output target for log messages.

Boolean IsDiagnostic

Gets a value indicating whether diagnostic logging is enabled.
Diagnostic logging is enabled when Level is set to All.

Methods:

Void Verbose(String, String, LoggingContext)

Logs a message with All level.

Void Information(String, String, LoggingContext)

Logs a message with Information level.

Void Warning(String, String, LoggingContext)

Logs a message with Warning level.

Void Error(String, String, LoggingContext)

Logs a message with Error level.

Void Exception(String, String, Exception, LoggingContext)

Logs a message with Exception level.

Comments