Example #1
0
 /// <summary>
 /// Log Info level message.
 /// </summary>
 /// <param name="skipFrames">skip frames count</param>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Info(int skipFrames, string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Info(1 + skipFrames, fmt, args);
 }
Example #2
0
 /// <summary>
 /// Log Warn level message.
 /// </summary>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Warn(string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Warn(1, fmt, args);
 }
Example #3
0
 /// <summary>
 /// Log Info level message.
 /// </summary>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Info(string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Info(1, fmt, args);
 }
Example #4
0
 /// <summary>
 /// Log Fatal level message with tag.
 /// </summary>
 /// <param name="tag">log message tag</param>
 /// <param name="skipFrames">skip frames count</param>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Fatal2(object tag, int skipFrames, string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Fatal2(tag, 1 + skipFrames, fmt, args);
 }
Example #5
0
 /// <summary>
 /// Log Error level message with tag.
 /// </summary>
 /// <param name="tag">log message tag</param>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Err2(object tag, string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Err2(tag, 1, fmt, args);
 }
Example #6
0
 /// <summary>
 /// Log Fatal level message with tag.
 /// </summary>
 /// <param name="skipFrames">skip frames count</param>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Fatal <Tag>(int skipFrames, string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Fatal <Tag>(1 + skipFrames, fmt, args);
 }
Example #7
0
 /// <summary>
 /// Log Fatal level message with tag.
 /// </summary>
 /// <param name="fmt">log message format</param>
 /// <param name="args">log message arguments</param>
 public static void Fatal <Tag>(string fmt, params object[] args)
 {
     LoggerMgr.GetRoot().Fatal <Tag>(1, fmt, args);
 }