C# Class EzBus.Core.Logging.TraceLogger

Inheritance: ILogger
Mostrar archivo Open project: Zapote/EzBus Class Usage Examples

Public Methods

Method Description
Debug ( object message ) : void
Debug ( object message, Exception t ) : void
DebugFormat ( string format ) : void
Error ( object message ) : void
Error ( object message, Exception t ) : void
ErrorFormat ( string format ) : void
Fatal ( object message ) : void
Fatal ( object message, Exception t ) : void
FatalFormat ( string format ) : void
Info ( object message ) : void
Info ( object message, Exception t ) : void
InfoFormat ( string format ) : void
TraceLogger ( LogLevel level, string name ) : System
Verbose ( object message ) : void
Verbose ( object message, Exception t ) : void
VerboseFormat ( string format ) : void
Warn ( object message ) : void
Warn ( object message, Exception t ) : void
WarnFormat ( string format ) : void

Private Methods

Method Description
LoggingOn ( ) : bool
WriteLog ( object message, LogLevel logLevel, ConsoleColor color = ConsoleColor.Gray ) : void

Method Details

Debug() public method

public Debug ( object message ) : void
message object
return void

Debug() public method

public Debug ( object message, Exception t ) : void
message object
t System.Exception
return void

DebugFormat() public method

public DebugFormat ( string format ) : void
format string
return void

Error() public method

public Error ( object message ) : void
message object
return void

Error() public method

public Error ( object message, Exception t ) : void
message object
t System.Exception
return void

ErrorFormat() public method

public ErrorFormat ( string format ) : void
format string
return void

Fatal() public method

public Fatal ( object message ) : void
message object
return void

Fatal() public method

public Fatal ( object message, Exception t ) : void
message object
t System.Exception
return void

FatalFormat() public method

public FatalFormat ( string format ) : void
format string
return void

Info() public method

public Info ( object message ) : void
message object
return void

Info() public method

public Info ( object message, Exception t ) : void
message object
t System.Exception
return void

InfoFormat() public method

public InfoFormat ( string format ) : void
format string
return void

TraceLogger() public method

public TraceLogger ( LogLevel level, string name ) : System
level LogLevel
name string
return System

Verbose() public method

public Verbose ( object message ) : void
message object
return void

Verbose() public method

public Verbose ( object message, Exception t ) : void
message object
t System.Exception
return void

VerboseFormat() public method

public VerboseFormat ( string format ) : void
format string
return void

Warn() public method

public Warn ( object message ) : void
message object
return void

Warn() public method

public Warn ( object message, Exception t ) : void
message object
t System.Exception
return void

WarnFormat() public method

public WarnFormat ( string format ) : void
format string
return void