C# Class Crosschat.Server.Infrastructure.Logging.ConsoleLogger

TODO: replace with NLog
Inheritance: ILogger
Afficher le fichier Open project: EgorBo/CrossChat-Xamarin.Forms

Méthodes publiques

Méthode Description
ConsoleLogger ( string typeName ) : System
Debug ( string format ) : void
Error ( string format ) : void
Exception ( Exception exc ) : void
Exception ( Exception exc, string captionFormat ) : void
Info ( string format ) : void
Trace ( string format ) : void
Warning ( string format ) : void

Private Methods

Méthode Description
GetExceptionDescription ( Exception exc ) : string
Write ( ConsoleColor color, string format ) : void

Method Details

ConsoleLogger() public méthode

public ConsoleLogger ( string typeName ) : System
typeName string
Résultat System

Debug() public méthode

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

Error() public méthode

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

Exception() public méthode

public Exception ( Exception exc ) : void
exc System.Exception
Résultat void

Exception() public méthode

public Exception ( Exception exc, string captionFormat ) : void
exc System.Exception
captionFormat string
Résultat void

Info() public méthode

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

Trace() public méthode

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

Warning() public méthode

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