/// <summary> /// Default constructor. Requires to be initialized with an IMAPConfig instance /// </summary> /// <param name="config"></param> /// <param name="extraParams">Used to pass in the ID of the current message worker</param> public IMAPLogger(IMAPConfig config, params object[] extraParams) { _config = config; _debugLevel = config.DebugDetail; _workerID = -1; if (extraParams.Length>0) _workerID = Convert.ToInt32(extraParams[0]); }
/// <summary> /// Default constructor. Requires to be initialized with an IMAPConfig instance /// </summary> /// <param name="config"></param> /// <param name="extraParams">Used to pass in the ID of the current message worker</param> public IMAPLogger(IMAPConfig config, params object[] extraParams) { _config = config; _debugLevel = config.DebugDetail; _workerID = -1; if (extraParams.Length > 0) { _workerID = Convert.ToInt32(extraParams[0]); } }