C# Class EzBus.Core.Logging.TraceLogger

Inheritance: ILogger
Afficher le fichier Open project: Zapote/EzBus Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

Debug() public méthode

public Debug ( object message ) : void
message object
Résultat void

Debug() public méthode

public Debug ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

DebugFormat() public méthode

public DebugFormat ( string format ) : void
format string
Résultat void

Error() public méthode

public Error ( object message ) : void
message object
Résultat void

Error() public méthode

public Error ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

ErrorFormat() public méthode

public ErrorFormat ( string format ) : void
format string
Résultat void

Fatal() public méthode

public Fatal ( object message ) : void
message object
Résultat void

Fatal() public méthode

public Fatal ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

FatalFormat() public méthode

public FatalFormat ( string format ) : void
format string
Résultat void

Info() public méthode

public Info ( object message ) : void
message object
Résultat void

Info() public méthode

public Info ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

InfoFormat() public méthode

public InfoFormat ( string format ) : void
format string
Résultat void

TraceLogger() public méthode

public TraceLogger ( LogLevel level, string name ) : System
level LogLevel
name string
Résultat System

Verbose() public méthode

public Verbose ( object message ) : void
message object
Résultat void

Verbose() public méthode

public Verbose ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

VerboseFormat() public méthode

public VerboseFormat ( string format ) : void
format string
Résultat void

Warn() public méthode

public Warn ( object message ) : void
message object
Résultat void

Warn() public méthode

public Warn ( object message, Exception t ) : void
message object
t System.Exception
Résultat void

WarnFormat() public méthode

public WarnFormat ( string format ) : void
format string
Résultat void