/// <summary> /// /// </summary> /// <param name="message"></param> /// <param name="e"></param> public void Info(object message, Exception e) { _logger.Log(declaringType, log4net.Core.Level.Info, message, e); }
protected override void WriteInternal(LogLevel level, object message, Exception exception) { _logger.Log(typeof(Log4NetLog), ParseLevel(level), Format(message.ToString(), exception), exception); }
//--- Methods --- public void Debug(object message) { if (!IsDebugEnabled) { return; } _logger.Log(_type, log4net.Core.Level.Debug, message, null); }