Метод | Описание | |
---|---|---|
GetLogger ( |
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.
|
|
Log4NetLoggerFactory ( ) : System |
Constructs the Log4net factory
|
public GetLogger ( |
||
contextType | The Type of BO this log is for | |
Результат | IHabaneroLogger |
public GetLogger ( string contextName ) : IHabaneroLogger | ||
contextName | string | |
Результат | IHabaneroLogger |