public static Initialise ( string configFilePath, string loggerName ) : void | ||
configFilePath | string | Name of the config file to load configuration from. |
loggerName | string | Name of the logger to use for logging. |
return | void |
public static void Initialise(string configFilePath, string loggerName)
{
Log4NetInitialiser.Initialise(configFilePath);
if (string.IsNullOrEmpty(loggerName))
throw new ArgumentException("Logger name not specified.", "loggerName");
m_globalLogger = new Logger(loggerName);
}