C# Класс SipSharp.Logging.NullLogger

Default log writer, writes everything to null (nowhere).
Наследование: ILogger
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Instance NullLogger

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

Метод Описание
Debug ( string message ) : void

Write an entry that helps when debugging code.

Debug ( string message, Exception err ) : void

Write an entry that helps when debugging code.

Error ( string message ) : void

Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.

Error ( string message, Exception err ) : void

Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.

Fatal ( string message ) : void

Something went very wrong, application might not recover.

Fatal ( string message, Exception err ) : void

Something went very wrong, application might not recover.

Info ( string message ) : void

Informational message, needed when helping customer to find a problem.

Info ( string message, Exception err ) : void

Informational message, needed when helping customer to find a problem.

Trace ( string message ) : void

Write a entry needed when following through code during hard to find bugs.

Trace ( string message, Exception err ) : void

Write a entry needed when following through code during hard to find bugs.

Warning ( string message ) : void

Something is not as we expect, but the code can continue to run without any changes.

Warning ( string message, Exception err ) : void

Something is not as we expect, but the code can continue to run without any changes.

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

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

Write an entry that helps when debugging code.
public Debug ( string message ) : void
message string Log message
Результат void

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

Write an entry that helps when debugging code.
public Debug ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

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

Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.
public Error ( string message ) : void
message string Log message
Результат void

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

Something went wrong, but the application do not need to die. The current thread/request cannot continue as expected.
public Error ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

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

Something went very wrong, application might not recover.
public Fatal ( string message ) : void
message string Log message
Результат void

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

Something went very wrong, application might not recover.
public Fatal ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

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

Informational message, needed when helping customer to find a problem.
public Info ( string message ) : void
message string Log message
Результат void

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

Informational message, needed when helping customer to find a problem.
public Info ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

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

Write a entry needed when following through code during hard to find bugs.
public Trace ( string message ) : void
message string Log message
Результат void

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

Write a entry needed when following through code during hard to find bugs.
public Trace ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

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

Something is not as we expect, but the code can continue to run without any changes.
public Warning ( string message ) : void
message string Log message
Результат void

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

Something is not as we expect, but the code can continue to run without any changes.
public Warning ( string message, Exception err ) : void
message string Log message
err System.Exception Exception being logged.
Результат void

Описание свойств

Instance публичное статическое свойство

The logging instance.
public static NullLogger,SipSharp.Logging Instance
Результат NullLogger