C# 클래스 Habanero.Base.Logging.Log4NetLoggerFactory

Logger factory for creating a Log4NetLogger
상속: IHabaneroLoggerFactory
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

GetLogger() 공개 메소드

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
리턴 IHabaneroLogger

GetLogger() 공개 메소드

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
리턴 IHabaneroLogger

Log4NetLoggerFactory() 공개 메소드

Constructs the Log4net factory
public Log4NetLoggerFactory ( ) : System
리턴 System