/// <summary>
/// Initialises <see cref="AppLogger"/> using the specified config file.
/// </summary>
/// <param name="configFilePath">Name of the config file to load configuration from.</param>
/// <param name="loggerName">Name of the logger to use for logging.</param>
/// <exception cref="ArgumentException">when <paramref name="configFilePath"/> is null or empty.</exception>
/// /// <exception cref="ArgumentException">when <paramref name="loggerName"/> is null or empty.</exception>
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);
}