C# Class Anotar.Custom.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 ( Func message ) : void

Writes the diagnostic message at the Error level.

Error ( string message ) : void

Writes the diagnostic message at the Error level.

Fatal ( ) : void

Writes the diagnostic message at the Fatal level.

Fatal ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Fatal level.

Fatal ( Exception exception, string format ) : void

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

Information ( ) : void

Writes the diagnostic message at the Information level.

Information ( Exception exception, Func message ) : void

Writes the diagnostic message and exception at the Information level.

Information ( Func message ) : void

Writes the diagnostic message at the Information level.

Information ( string message ) : void

Writes the diagnostic message at the Information level.

Trace ( ) : void

Writes the diagnostic message at the Trace level.

Trace ( Exception exception, Func message ) : void

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

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 ( Exception exception, string format ) : void
Information ( Exception exception, string format ) : void
Trace ( 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 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

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

Fatal() public static method

Writes the diagnostic message and exception at the Fatal level.
public static Fatal ( Exception exception, string format ) : void
exception System.Exception An exception to be logged.
format string A containing format items.
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

Information() public static method

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

Information() public static method

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

Information() public static method

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

Information() public static method

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

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