C# Class Anotar.CommonLogging.LogTo

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

Public Methods

Method Description
Debug ( ) : void

Writes the diagnostic message 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.

DebugException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Debug level.

Error ( ) : void

Writes the diagnostic message at the Error level.

Error ( Func message ) : void

Writes the diagnostic message at the Error level.

Error ( string message ) : void

Writes the diagnostic message at the Error level.

ErrorException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Error level.

Fatal ( ) : void

Writes the diagnostic message at the Fatal level.

Fatal ( Func message ) : void

Writes the diagnostic message at the Fatal level.

Fatal ( string message ) : void

Writes the diagnostic message at the Fatal level.

FatalException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Fatal level.

Info ( ) : void

Writes the diagnostic message 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.

InfoException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Info level.

Trace ( ) : void

Writes the diagnostic message at the Trace level.

Trace ( Func message ) : void

Writes the diagnostic message at the Trace level.

Trace ( string message ) : void

Writes the diagnostic message at the Trace level.

TraceException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Trace level.

Warn ( ) : void

Writes the diagnostic message at the Warn level.

Warn ( Func message ) : void

Writes the diagnostic message at the Warn level.

Warn ( string message ) : void

Writes the diagnostic message at the Warn level.

WarnException ( Func message, Exception exception ) : void

Writes the diagnostic message and exception at the Warn level.

Private Methods

Method Description
DebugException ( string format, Exception exception ) : void
ErrorException ( string format, Exception exception ) : void
FatalException ( string format, Exception exception ) : void
InfoException ( string format, Exception exception ) : void
TraceException ( string format, Exception exception ) : void
WarnException ( string format, Exception exception ) : 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 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

DebugException() public static method

Writes the diagnostic message and exception at the Debug level.
public static DebugException ( Func message, Exception exception ) : void
message Func The log message.
exception System.Exception An exception to be logged.
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 at the Error level.
public static Error ( Func message ) : void
message Func The log message.
return void

Error() public static method

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

ErrorException() public static method

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

Fatal() public static method

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

Fatal() public static method

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

Fatal() public static method

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

FatalException() public static method

Writes the diagnostic message and exception at the Fatal level.
public static FatalException ( Func message, Exception exception ) : void
message Func The log message.
exception System.Exception An exception to be logged.
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 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

InfoException() public static method

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

Trace() public static method

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

Trace() public static method

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

Trace() public static method

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

TraceException() public static method

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

Warn() public static method

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

Warn() public static method

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

Warn() public static method

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

WarnException() public static method

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