Aqueduct.Diagnostics.AppLogger.Initialise C# (CSharp) Method

Initialise() public static method

Initialises AppLogger using the specified config file.
when is null or empty. when is null or empty.
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);
		}