C# Класс Hawkeye.Logging.LoggingExtensions

Adds shortcut methods to the Hawkeye.Logging.ILogService interface.
Показать файл Открыть проект

Открытые методы

Метод Описание
Debug ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Debug trace level.

Debug ( this log, string message ) : void

Logs the specified message with the LogLevel.Debug trace level.

Debug ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Debug trace level.

Error ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Error trace level.

Error ( this log, string message ) : void

Logs the specified message with the LogLevel.Error trace level.

Error ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Error trace level.

Fatal ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Fatal trace level.

Fatal ( this log, string message ) : void

Logs the specified message with the LogLevel.Fatal trace level.

Fatal ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Fatal trace level.

Info ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Info trace level.

Info ( this log, string message ) : void

Logs the specified message with the LogLevel.Info trace level.

Info ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Info trace level.

Log ( this log, LogLevel level, Exception exception ) : void

Logs the specified exception with the specified trace level.

Log ( this log, LogLevel level, string message ) : void

Logs the specified message with the specified trace level.

Log ( this log, LogLevel level, string message, Exception exception ) : void

Logs the specified message and exception with the specified trace level.

Verbose ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Verbose trace level.

Verbose ( this log, string message ) : void

Logs the specified message with the LogLevel.Verbose trace level.

Verbose ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Verbose trace level.

Warning ( this log, Exception exception ) : void

Logs the specified exception with the LogLevel.Warning trace level.

Warning ( this log, string message ) : void

Logs the specified message with the LogLevel.Warning trace level.

Warning ( this log, string message, Exception exception ) : void

Logs the specified message and exception with the LogLevel.Warning trace level.

Описание методов

Debug() публичный статический Метод

Logs the specified exception with the LogLevel.Debug trace level.
public static Debug ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Debug() публичный статический Метод

Logs the specified message with the LogLevel.Debug trace level.
public static Debug ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Debug() публичный статический Метод

Logs the specified message and exception with the LogLevel.Debug trace level.
public static Debug ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Error() публичный статический Метод

Logs the specified exception with the LogLevel.Error trace level.
public static Error ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Error() публичный статический Метод

Logs the specified message with the LogLevel.Error trace level.
public static Error ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Error() публичный статический Метод

Logs the specified message and exception with the LogLevel.Error trace level.
public static Error ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Fatal() публичный статический Метод

Logs the specified exception with the LogLevel.Fatal trace level.
public static Fatal ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Fatal() публичный статический Метод

Logs the specified message with the LogLevel.Fatal trace level.
public static Fatal ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Fatal() публичный статический Метод

Logs the specified message and exception with the LogLevel.Fatal trace level.
public static Fatal ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Info() публичный статический Метод

Logs the specified exception with the LogLevel.Info trace level.
public static Info ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Info() публичный статический Метод

Logs the specified message with the LogLevel.Info trace level.
public static Info ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Info() публичный статический Метод

Logs the specified message and exception with the LogLevel.Info trace level.
public static Info ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Log() публичный статический Метод

Logs the specified exception with the specified trace level.
public static Log ( this log, LogLevel level, Exception exception ) : void
log this The logging service used to output the trace.
level LogLevel The trace level.
exception System.Exception The exception to trace.
Результат void

Log() публичный статический Метод

Logs the specified message with the specified trace level.
public static Log ( this log, LogLevel level, string message ) : void
log this The logging service used to output the trace.
level LogLevel The trace level.
message string The message to trace.
Результат void

Log() публичный статический Метод

Logs the specified message and exception with the specified trace level.
public static Log ( this log, LogLevel level, string message, Exception exception ) : void
log this The logging service used to output the trace.
level LogLevel The trace level.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Verbose() публичный статический Метод

Logs the specified exception with the LogLevel.Verbose trace level.
public static Verbose ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Verbose() публичный статический Метод

Logs the specified message with the LogLevel.Verbose trace level.
public static Verbose ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Verbose() публичный статический Метод

Logs the specified message and exception with the LogLevel.Verbose trace level.
public static Verbose ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void

Warning() публичный статический Метод

Logs the specified exception with the LogLevel.Warning trace level.
public static Warning ( this log, Exception exception ) : void
log this The logging service used to output the trace.
exception System.Exception The exception to trace.
Результат void

Warning() публичный статический Метод

Logs the specified message with the LogLevel.Warning trace level.
public static Warning ( this log, string message ) : void
log this The logging service used to output the trace.
message string The message to trace.
Результат void

Warning() публичный статический Метод

Logs the specified message and exception with the LogLevel.Warning trace level.
public static Warning ( this log, string message, Exception exception ) : void
log this The logging service used to output the trace.
message string The message to trace.
exception System.Exception The exception to trace.
Результат void