C# Class Hawkeye.Logging.LoggingExtensions

Adds shortcut methods to the Hawkeye.Logging.ILogService interface.
Mostra file Open project: odalet/Hawkeye2

Public Methods

Method Description
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.

Method Details

Debug() public static method

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.
return void

Debug() public static method

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.
return void

Debug() public static method

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.
return void

Error() public static method

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.
return void

Error() public static method

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.
return void

Error() public static method

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.
return void

Fatal() public static method

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.
return void

Fatal() public static method

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.
return void

Fatal() public static method

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.
return void

Info() public static method

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.
return void

Info() public static method

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.
return void

Info() public static method

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.
return void

Log() public static method

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.
return void

Log() public static method

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.
return void

Log() public static method

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.
return void

Verbose() public static method

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.
return void

Verbose() public static method

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.
return void

Verbose() public static method

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.
return void

Warning() public static method

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.
return void

Warning() public static method

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.
return void

Warning() public static method

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.
return void