C# Class SharpLog.Desktop.ColoredConsoleLogger

Inheritance: SynchronousFormattableLogger
Afficher le fichier Open project: prasannavl/SharpLog

Méthodes publiques

Méthode Description
Format ( string text, LogLevel level, string callerName ) : string
SetGlobalTextColor ( ConsoleColor color ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
Execute ( LogLevel level, string text, string callerName ) : void

Private Methods

Méthode Description
GetColor ( LogLevel level ) : ConsoleColor

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Execute() protected méthode

protected Execute ( LogLevel level, string text, string callerName ) : void
level LogLevel
text string
callerName string
Résultat void

Format() public méthode

public Format ( string text, LogLevel level, string callerName ) : string
text string
level LogLevel
callerName string
Résultat string

SetGlobalTextColor() public méthode

public SetGlobalTextColor ( ConsoleColor color ) : void
color ConsoleColor
Résultat void