C# Class Anotar.Catel.LogTo

Provides logging functions.
显示文件 Open project: Fody/Anotar

Public Methods

Method Description
Debug ( ) : void

Writes the diagnostic message at the Debug level.

Debug ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Debug level.

Debug ( Func message ) : void

Writes the diagnostic message at the Debug level.

Debug ( string message ) : void

Writes the diagnostic message at the Debug level.

Error ( ) : void

Writes the diagnostic message at the Error level.

Error ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Error level.

Error ( Exception exception, string format ) : void

Writes the diagnostic message and exception at the Error level.

Error ( Func message ) : void

Writes the diagnostic message at the Error level.

Info ( ) : void

Writes the diagnostic message at the Info level.

Info ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Info level.

Info ( Func message ) : void

Writes the diagnostic message at the Info level.

Info ( string message ) : void

Writes the diagnostic message at the Info level.

Warning ( ) : void

Writes the diagnostic message at the Warn level.

Warning ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Warn level.

Warning ( Func message ) : void

Writes the diagnostic message at the Warn level.

Warning ( string message ) : void

Writes the diagnostic message at the Warn level.

Private Methods

Method Description
Debug ( Exception exception, string format ) : void
Error ( string message ) : void
Info ( Exception exception, string format ) : void
Warning ( Exception exception, string format ) : void

Method Details

Debug() public static method

Writes the diagnostic message at the Debug level.
public static Debug ( ) : void
return void

Debug() public static method

Writes the diagnostic message and exception at the Debug level.
public static Debug ( Exception exception, Func message ) : void
exception System.Exception An exception to be logged.
message Func The log message.
return void

Debug() public static method

Writes the diagnostic message at the Debug level.
public static Debug ( Func message ) : void
message Func The log message.
return void

Debug() public static method

Writes the diagnostic message at the Debug level.
public static Debug ( string message ) : void
message string The message to log.
return void

Error() public static method

Writes the diagnostic message at the Error level.
public static Error ( ) : void
return void

Error() public static method

Writes the diagnostic message and exception at the Error level.
public static Error ( Exception exception, Func message ) : void
exception System.Exception An exception to be logged.
message Func The log message.
return void

Error() public static method

Writes the diagnostic message and exception at the Error level.
public static Error ( Exception exception, string format ) : void
exception System.Exception An exception to be logged.
format string A containing format items.
return void

Error() public static method

Writes the diagnostic message at the Error level.
public static Error ( Func message ) : void
message Func The log message.
return void

Info() public static method

Writes the diagnostic message at the Info level.
public static Info ( ) : void
return void

Info() public static method

Writes the diagnostic message and exception at the Info level.
public static Info ( Exception exception, Func message ) : void
exception System.Exception An exception to be logged.
message Func The log message.
return void

Info() public static method

Writes the diagnostic message at the Info level.
public static Info ( Func message ) : void
message Func The log message.
return void

Info() public static method

Writes the diagnostic message at the Info level.
public static Info ( string message ) : void
message string The message to log.
return void

Warning() public static method

Writes the diagnostic message at the Warn level.
public static Warning ( ) : void
return void

Warning() public static method

Writes the diagnostic message and exception at the Warn level.
public static Warning ( Exception exception, Func message ) : void
exception System.Exception An exception to be logged.
message Func The log message.
return void

Warning() public static method

Writes the diagnostic message at the Warn level.
public static Warning ( Func message ) : void
message Func The log message.
return void

Warning() public static method

Writes the diagnostic message at the Warn level.
public static Warning ( string message ) : void
message string The message to log.
return void