C# Class Habanero.Base.Logging.Log4NetLoggerFactory

Logger factory for creating a Log4NetLogger
Inheritance: IHabaneroLoggerFactory
Afficher le fichier Open project: Chillisoft/habanero Class Usage Examples

Méthodes publiques

Méthode Description
GetLogger ( Type contextType ) : IHabaneroLogger

Creates the Appropriate IHabaneroLogger based on the LoggerFactory you have implemented. See IHabaneroLoggerFactory.GetLogger(string) form more details

GetLogger ( string contextName ) : IHabaneroLogger

Creates the Appropriate IHabaneroLogger based on the LoggerFactory you have implemented. By Default Habanero uses the Log4NetLoggerFactory. You can change the logger factor by changing your the BootStrapper code when Your Application starts up or by creating your own HabaneroApp and overriding the HabaneroApp.SetupLogging or by calling the following code in your app startup. GlobalRegistry.LoggerFactory = new Log4NetLoggerFactory();

Log4NetLoggerFactory ( ) : System

Constructs the Log4net factory

Method Details

GetLogger() public méthode

Creates the Appropriate IHabaneroLogger based on the LoggerFactory you have implemented. See IHabaneroLoggerFactory.GetLogger(string) form more details
public GetLogger ( Type contextType ) : IHabaneroLogger
contextType System.Type The Type of BO this log is for
Résultat IHabaneroLogger

GetLogger() public méthode

Creates the Appropriate IHabaneroLogger based on the LoggerFactory you have implemented. By Default Habanero uses the Log4NetLoggerFactory. You can change the logger factor by changing your the BootStrapper code when Your Application starts up or by creating your own HabaneroApp and overriding the HabaneroApp.SetupLogging or by calling the following code in your app startup. GlobalRegistry.LoggerFactory = new Log4NetLoggerFactory();
public GetLogger ( string contextName ) : IHabaneroLogger
contextName string
Résultat IHabaneroLogger

Log4NetLoggerFactory() public méthode

Constructs the Log4net factory
public Log4NetLoggerFactory ( ) : System
Résultat System