Otter SDK Reference
Version:

LoggerExtensions Class

Contains extension methods for the ILogger interface.

Inheritance Hierarchy

  • object
    • Inedo.Diagnostics.LoggerExtensions

Syntax

public class LoggerExtensions

Methods

Name Description
LogDebug(ILogger logger, string message)

Logs the specified message with a debug log level.

LogDebug(ILogger logger, string format, object arg0)

Logs the specified message with a debug log level.

LogDebug(ILogger logger, string format, object arg0, object arg1)

Logs the specified message with a debug log level.

LogDebug(ILogger logger, string format, object[] args)

Logs the specified message with a debug log level.

LogError(ILogger logger, string message)

Logs the specified message with an error log level.

LogError(ILogger logger, string format, object arg0)

Logs the specified message with an error log level.

LogError(ILogger logger, string format, object arg0, object arg1)

Logs the specified message with an error log level.

LogError(ILogger logger, string format, object[] args)

Logs the specified message with an error log level.

LogInformation(ILogger logger, string message)

Logs the specified message with an information log level.

LogInformation(ILogger logger, string format, object arg0)

Logs the specified message with an information log level.

LogInformation(ILogger logger, string format, object arg0, object arg1)

Logs the specified message with an information log level.

LogInformation(ILogger logger, string format, object[] args)

Logs the specified message with an information log level.

LogWarning(ILogger logger, string message)

Logs the specified message with a warning log level.

LogWarning(ILogger logger, string format, object arg0)

Logs the specified message with a warning log level.

LogWarning(ILogger logger, string format, object arg0, object arg1)

Logs the specified message with a warning log level.

LogWarning(ILogger logger, string format, object[] args)

Logs the specified message with a warning log level.