C# Class Anotar.Serilog.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, string messageTemplate ) : void

Writes the diagnostic message and exception at the Debug level.

Debug ( string messageTemplate ) : void

Writes the diagnostic message at the Debug level.

Error ( ) : void

Writes the diagnostic message at the Error level.

Error ( Exception exception, string messageTemplate ) : void

Writes the diagnostic message and exception at the Error level.

Error ( string messageTemplate ) : void

Writes the diagnostic message at the Error level.

Fatal ( ) : void

Writes the diagnostic message at the Fatal level.

Fatal ( Exception exception, string messageTemplate ) : void

Writes the diagnostic message and exception at the Fatal level.

Fatal ( string messageTemplate ) : void

Writes the diagnostic message at the Fatal level.

Information ( ) : void

Writes the diagnostic message at the Info level.

Information ( Exception exception, string messageTemplate ) : void

Writes the diagnostic message and exception at the Info level.

Information ( string messageTemplate ) : void

Writes the diagnostic message at the Info level.

Verbose ( ) : void

Writes the diagnostic message at the Verbose level.

Verbose ( Exception exception, string messageTemplate ) : void

Writes the diagnostic message and exception at the Verbose level.

Verbose ( string messageTemplate ) : void

Writes the diagnostic message at the Verbose level.

Warning ( ) : void

Writes the diagnostic message at the Warn level.

Warning ( Exception exception, string messageTemplate ) : void

Writes the diagnostic message and exception at the Warn level.

Warning ( string messageTemplate ) : void

Writes the diagnostic message at the Warn level.

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, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Debug() public static method

Writes the diagnostic message at the Debug level.
public static Debug ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
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, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Error() public static method

Writes the diagnostic message at the Error level.
public static Error ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
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, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Fatal() public static method

Writes the diagnostic message at the Fatal level.
public static Fatal ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
return void

Information() public static method

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

Information() public static method

Writes the diagnostic message and exception at the Info level.
public static Information ( Exception exception, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Information() public static method

Writes the diagnostic message at the Info level.
public static Information ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
return void

Verbose() public static method

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

Verbose() public static method

Writes the diagnostic message and exception at the Verbose level.
public static Verbose ( Exception exception, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Verbose() public static method

Writes the diagnostic message at the Verbose level.
public static Verbose ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
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, string messageTemplate ) : void
exception System.Exception An exception to be logged.
messageTemplate string Message template describing the event.
return void

Warning() public static method

Writes the diagnostic message at the Warn level.
public static Warning ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
return void