From b2ad000e07e1c87d3561b5aa94fdc88c779872f0 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 18 二月 2025 22:34:54 +0800 Subject: [PATCH] 1 --- 项目代码/WMS/WIDESEA_WMSServer/LogLibrary/Log/ILog.cs | 89 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 89 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/LogLibrary/Log/ILog.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/LogLibrary/Log/ILog.cs" new file mode 100644 index 0000000..11c5c38 --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/LogLibrary/Log/ILog.cs" @@ -0,0 +1,89 @@ +锘縰sing System; + +namespace LogLibrary.Log +{ + public unsafe interface ILog + { + bool* IsCryto { set; } + bool IsDebugEnabled { get; } + + bool IsErrorEnabled { get; } + + bool IsFatalEnabled { get; } + + bool IsInfoEnabled { get; } + + bool IsWarnEnabled { get; } + + void Debug(bool isWriteFile, object message); + + void Debug(bool isWriteFile, object message, Exception exception); + + void DebugFormat(bool isWriteFile, string format, object arg0); + + void DebugFormat(bool isWriteFile, string format, params object[] args); + + void DebugFormat(bool isWriteFile, IFormatProvider provider, string format, params object[] args); + + void DebugFormat(bool isWriteFile, string format, object arg0, object arg1); + + void DebugFormat(bool isWriteFile, string format, object arg0, object arg1, object arg2); + + void Error(bool isWriteFile, object message); + + void Error(bool isWriteFile, object message, Exception exception); + + void ErrorFormat(bool isWriteFile, string format, object arg0); + + void ErrorFormat(bool isWriteFile, string format, params object[] args); + + void ErrorFormat(bool isWriteFile, IFormatProvider provider, string format, params object[] args); + + void ErrorFormat(bool isWriteFile, string format, object arg0, object arg1); + + void ErrorFormat(bool isWriteFile, string format, object arg0, object arg1, object arg2); + + void Fatal(bool isWriteFile, object message); + + void Fatal(bool isWriteFile, object message, Exception exception); + + void FatalFormat(bool isWriteFile, string format, object arg0); + + void FatalFormat(bool isWriteFile, string format, params object[] args); + + void FatalFormat(bool isWriteFile, IFormatProvider provider, string format, params object[] args); + + void FatalFormat(bool isWriteFile, string format, object arg0, object arg1); + + void FatalFormat(bool isWriteFile, string format, object arg0, object arg1, object arg2); + + void Info(bool isWriteFile, object message); + + void Info(bool isWriteFile, object message, Exception exception); + + //void InfoFormat(bool isWriteFile, string format, object arg0); + + //void InfoFormat(bool isWriteFile, string format, params object[] args); + + //void InfoFormat(bool isWriteFile, IFormatProvider provider, string format, params object[] args); + + //void InfoFormat(bool isWriteFile, string format, object arg0, object arg1); + + void InfoFormat(bool isWriteFile, object arg0, object arg1, object arg2); + + void Warn(bool isWriteFile, object message); + + void Warn(bool isWriteFile, object message, Exception exception); + + void WarnFormat(bool isWriteFile, string format, object arg0); + + void WarnFormat(bool isWriteFile, string format, params object[] args); + + void WarnFormat(bool isWriteFile, IFormatProvider provider, string format, params object[] args); + + void WarnFormat(bool isWriteFile, string format, object arg0, object arg1); + + void WarnFormat(bool isWriteFile, string format, object arg0, object arg1, object arg2); + + } +} -- Gitblit v1.9.3