C# Class Hawkeye.Logging.LoggingExtensions

Adds shortcut methods to the Hawkeye.Logging.ILogService interface.
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Debug() public static méthode

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.
Résultat void

Debug() public static méthode

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.
Résultat void

Error() public static méthode

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.
Résultat void

Error() public static méthode

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.
Résultat void

Error() public static méthode

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.
Résultat void

Fatal() public static méthode

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.
Résultat void

Fatal() public static méthode

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.
Résultat void

Fatal() public static méthode

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.
Résultat void

Info() public static méthode

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.
Résultat void

Info() public static méthode

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.
Résultat void

Info() public static méthode

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.
Résultat void

Log() public static méthode

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.
Résultat void

Log() public static méthode

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.
Résultat void

Log() public static méthode

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.
Résultat void

Verbose() public static méthode

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.
Résultat void

Verbose() public static méthode

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.
Résultat void

Verbose() public static méthode

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.
Résultat void

Warning() public static méthode

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.
Résultat void

Warning() public static méthode

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.
Résultat void

Warning() public static méthode

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.
Résultat void