C# Класс PowerDeploy.Core.Logging.ConsoleLogger

Default logger is to Console.WriteLine Made public so its testable
https://github.com/ServiceStackV3/ServiceStackV3 BSD Licence.
Наследование: ILog
Показать файл Открыть проект

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

Метод Описание
ConsoleLogger ( Type type ) : System

Initializes a new instance of the DebugLogger class.

ConsoleLogger ( string type ) : System

Initializes a new instance of the DebugLogger class.

Debug ( object message ) : void
Debug ( object message, Exception exception ) : void
DebugFormat ( string format ) : void
Error ( object message ) : void
Error ( object message, Exception exception ) : void
ErrorFormat ( string format ) : void
Fatal ( object message ) : void
Fatal ( object message, Exception exception ) : void
FatalFormat ( string format ) : void
Info ( object message ) : void
Info ( object message, Exception exception ) : void
InfoFormat ( string format ) : void
Print ( object message ) : void
PrintFormat ( string format ) : void
Warn ( object message ) : void
Warn ( object message, Exception exception ) : void
WarnFormat ( string format ) : void

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

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

Logs the specified message.

Log ( object message, Exception exception ) : void

Logs the specified message.

LogFormat ( object message ) : void

Logs the format.

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

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

Initializes a new instance of the DebugLogger class.
public ConsoleLogger ( Type type ) : System
type System.Type
Результат System

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

Initializes a new instance of the DebugLogger class.
public ConsoleLogger ( string type ) : System
type string
Результат System

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

public Debug ( object message ) : void
message object
Результат void

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

public Debug ( object message, Exception exception ) : void
message object
exception System.Exception
Результат void

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

public DebugFormat ( string format ) : void
format string
Результат void

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

public Error ( object message ) : void
message object
Результат void

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

public Error ( object message, Exception exception ) : void
message object
exception System.Exception
Результат void

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

public ErrorFormat ( string format ) : void
format string
Результат void

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

public Fatal ( object message ) : void
message object
Результат void

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

public Fatal ( object message, Exception exception ) : void
message object
exception System.Exception
Результат void

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

public FatalFormat ( string format ) : void
format string
Результат void

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

public Info ( object message ) : void
message object
Результат void

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

public Info ( object message, Exception exception ) : void
message object
exception System.Exception
Результат void

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

public InfoFormat ( string format ) : void
format string
Результат void

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

public Print ( object message ) : void
message object
Результат void

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

public PrintFormat ( string format ) : void
format string
Результат void

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

public Warn ( object message ) : void
message object
Результат void

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

public Warn ( object message, Exception exception ) : void
message object
exception System.Exception
Результат void

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

public WarnFormat ( string format ) : void
format string
Результат void