C# Class SharpLog.Desktop.ConsoleLogger

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

Méthodes publiques

Méthode Description
ConsoleLogger ( ) : System
ConsoleLogger ( bool isSynchronized ) : System
Format ( string text, LogLevel level, string callerName ) : string
SetSynchronizationMode ( bool isSynchronized ) : void

Méthodes protégées

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

Method Details

ConsoleLogger() public méthode

public ConsoleLogger ( ) : System
Résultat System

ConsoleLogger() public méthode

public ConsoleLogger ( bool isSynchronized ) : System
isSynchronized bool
Résultat System

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

SetSynchronizationMode() public méthode

public SetSynchronizationMode ( bool isSynchronized ) : void
isSynchronized bool
Résultat void

WriteToConsole() protected méthode

protected WriteToConsole ( string text ) : void
text string
Résultat void

WriteToConsoleSynchronized() protected méthode

protected WriteToConsoleSynchronized ( string text ) : void
text string
Résultat void