C# Class Baza.Infrastructure.Logging.EnterpriseLibrary.EnterpriseLibraryLogger

Inheritance: ILogger, IDisposable
Afficher le fichier Open project: Hirede/Logging Class Usage Examples

Méthodes publiques

Méthode Description
BeginScopeImpl ( object state ) : IDisposable
Dispose ( ) : void
EnterpriseLibraryLogger ( Microsoft.Practices.EnterpriseLibrary.Logging.LoggingConfiguration config ) : System
IsEnabled ( LogLevel logLevel ) : bool
Log ( LogLevel logLevel, int eventId, object state, Exception exception, Func formatter ) : void

Private Methods

Méthode Description
ToTraceEventType ( LogLevel level ) : TraceEventType

Method Details

BeginScopeImpl() public méthode

public BeginScopeImpl ( object state ) : IDisposable
state object
Résultat IDisposable

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnterpriseLibraryLogger() public méthode

public EnterpriseLibraryLogger ( Microsoft.Practices.EnterpriseLibrary.Logging.LoggingConfiguration config ) : System
config Microsoft.Practices.EnterpriseLibrary.Logging.LoggingConfiguration
Résultat System

IsEnabled() public méthode

public IsEnabled ( LogLevel logLevel ) : bool
logLevel LogLevel
Résultat bool

Log() public méthode

public Log ( LogLevel logLevel, int eventId, object state, Exception exception, Func formatter ) : void
logLevel LogLevel
eventId int
state object
exception System.Exception
formatter Func
Résultat void