namespace log4net { public interface ILog { /* Test if a level is enabled for logging */ bool IsDebugEnabled { get; } bool IsInfoEnabled { get; } bool IsWarnEnabled { get; } bool IsErrorEnabled { get; } bool IsFatalEnabled { get; } /* Log a message object */ void Debug(object message); void Info(object message); void Warn(object message); void Error(object message); void Fatal(object message); /* Log a message object and exception */ void Debug(object message, Exception t); void Info(object message, Exception t); void Warn(object message, Exception t); void Error(object message, Exception t); void Fatal(object message, Exception t); /* Log a message string using the System.String.Format syntax */ void DebugFormat(string format, params object[] args); void InfoFormat(string format, params object[] args); void WarnFormat(string format, params object[] args); void ErrorFormat(string format, params object[] args); void FatalFormat(string format, params object[] args); /* Log a message string using the System.String.Format syntax */ void DebugFormat(IFormatProvider provider, string format, params object[] args); void InfoFormat(IFormatProvider provider, string format, params object[] args); void WarnFormat(IFormatProvider provider, string format, params object[] args); void ErrorFormat(IFormatProvider provider, string format, params object[] args); void FatalFormat(IFormatProvider provider, string format, params object[] args); } }
版权声明:
本文来源网络,所有图片文章版权属于原作者,如有侵权,联系删除。
本文网址:https://www.mushiming.com/mjsbk/4410.html