Exemple #1
0
 //============================================================
 // <T>输出信息。</T>
 //
 // @param refer 引用对象
 // @param method 函数名称
 // @param message 消息内容
 // @param parameters 消息参数
 //============================================================
 public void Info(object refer, string method, string message, params object[] parameters)
 {
     if (InfoAble)
     {
         RLogger.Output(ELoggerLevel.Info, RObject.Nvl(refer, _reference), method, null, message, parameters);
     }
 }
Exemple #2
0
 //============================================================
 // <T>输出致命错误。</T>
 //
 // @param refer 引用对象
 // @param method 函数名称
 // @param exception 例外对象
 //============================================================
 public void Fatal(object refer, string method, Exception exception)
 {
     if (FatalAble)
     {
         RLogger.Output(ELoggerLevel.Fatal, RObject.Nvl(refer, _reference), method, exception, null, null);
     }
 }
Exemple #3
0
 //============================================================
 // <T>输出致命错误。</T>
 //
 // @param refer 引用对象
 // @param method 函数名称
 // @param exception 例外对象
 // @param message 消息内容
 // @param parameters 消息参数
 //============================================================
 public void Fatal(object refer, string method, Exception exception, string message, params object[] parameters)
 {
     if (FatalAble)
     {
         RLogger.Output(ELoggerLevel.Fatal, RObject.Nvl(refer, _reference), method, exception, message, parameters);
     }
 }
Exemple #4
0
 //============================================================
 // <T>输出错误。</T>
 //
 // @param refer 引用对象
 // @param method 函数名称
 // @param exception 例外对象
 //============================================================
 public void Error(object refer, string method, Exception exception)
 {
     if (ErrorAble)
     {
         RLogger.Output(ELoggerLevel.Error, RObject.Nvl(refer, _reference), method, exception, null, null);
     }
 }