C# Class MyCustomLoggerAdapter, code

Inheritance: ILoggerFacade
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
Exception ( Exception, ex ) : void
Log ( LogEntry, entry ) : void

Logs an entry using the Enterprise Library Logging.

Log ( string message, Category, category, Priority, priority ) : void

Logs an entry using the Enterprise Library logging. For logging a Category.Exception type, it is preferred to use the EnterpriseLibraryLoggerAdapter.Exception methods."

Method Details

Exception() public méthode

public Exception ( Exception, ex ) : void
ex Exception,
Résultat void

Log() public méthode

Logs an entry using the Enterprise Library Logging.
public Log ( LogEntry, entry ) : void
entry LogEntry, the LogEntry object used to log the /// entry with Enterprise Library.
Résultat void

Log() public méthode

Logs an entry using the Enterprise Library logging. For logging a Category.Exception type, it is preferred to use the EnterpriseLibraryLoggerAdapter.Exception methods."
public Log ( string message, Category, category, Priority, priority ) : void
message string
category Category,
priority Priority,
Résultat void