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

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

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

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

Приватные методы

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Writes the diagnostic message at the Trace level.
public static Trace ( string message ) : void
message string The message to log.
Результат void

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

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

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

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

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

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

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

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

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

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