C# Class MyCustomLoggerAdapter, code

Inheritance: ILoggerFacade
Mostrar archivo Open project: shendongnian/code

Public Methods

Method 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 method

public Exception ( Exception, ex ) : void
ex Exception,
return void

Log() public method

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.
return void

Log() public method

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,
return void