C# Класс Anotar.Serilog.LogTo

Provides logging functions.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Debug() публичный статический Метод

Writes the diagnostic message at the Debug level.
public static Debug ( ) : void
Результат void

Debug() публичный статический Метод

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.
Результат void

Debug() публичный статический Метод

Writes the diagnostic message at the Debug level.
public static Debug ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void

Error() публичный статический Метод

Writes the diagnostic message at the Error level.
public static Error ( ) : void
Результат void

Error() публичный статический Метод

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.
Результат void

Error() публичный статический Метод

Writes the diagnostic message at the Error level.
public static Error ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void

Fatal() публичный статический Метод

Writes the diagnostic message at the Fatal level.
public static Fatal ( ) : void
Результат void

Fatal() публичный статический Метод

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.
Результат void

Fatal() публичный статический Метод

Writes the diagnostic message at the Fatal level.
public static Fatal ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void

Information() публичный статический Метод

Writes the diagnostic message at the Info level.
public static Information ( ) : void
Результат void

Information() публичный статический Метод

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.
Результат void

Information() публичный статический Метод

Writes the diagnostic message at the Info level.
public static Information ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void

Verbose() публичный статический Метод

Writes the diagnostic message at the Verbose level.
public static Verbose ( ) : void
Результат void

Verbose() публичный статический Метод

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.
Результат void

Verbose() публичный статический Метод

Writes the diagnostic message at the Verbose level.
public static Verbose ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void

Warning() публичный статический Метод

Writes the diagnostic message at the Warn level.
public static Warning ( ) : void
Результат void

Warning() публичный статический Метод

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.
Результат void

Warning() публичный статический Метод

Writes the diagnostic message at the Warn level.
public static Warning ( string messageTemplate ) : void
messageTemplate string Message template describing the event.
Результат void