/// <summary> /// Logs the specified logging data. /// </summary> /// <param name="loggingData">The logging data.</param> /// <exception cref="System.NotSupportedException"></exception> public void Log(LoggingData loggingData) { var loggingEventData = new LoggingEventData(); loggingEventData.Domain = loggingData.Domain; loggingEventData.ExceptionString = loggingData.ExceptionString; loggingEventData.LoggerName = loggingData.LoggerName; loggingEventData.Level = s_LevelDict[loggingData.Level]; loggingEventData.Message = loggingData.Message; loggingEventData.ThreadName = loggingData.ThreadName; loggingEventData.TimeStamp = loggingData.TimeStamp; loggingEventData.UserName = loggingData.UserName; m_Log.Logger.Log(new LoggingEvent(loggingEventData)); }
//--------------------------------------------------------------------- /// <summary> /// Logs the specified logging data. /// </summary> /// <param name="loggingData">The logging data.</param> /// <exception cref="System.NotSupportedException"></exception> public void Log(LoggingData loggingData) { throw new NotSupportedException(); }
/// <summary> /// Logs the specified logging data. /// </summary> /// <param name="loggingData">The logging data.</param> /// <exception cref="System.NotSupportedException"></exception> public void Log(LoggingData loggingData) { throw new NotSupportedException(); }