示例#1
0
文件: Logging.cs 项目: whiker/rDSN
 public static void dinfo(dsn_log_level_t level, string fmt, object arg0, object arg1, object arg2)
 {
     if (Native.dsn_log_get_start_level() >= dsn_log_level_t.LOG_LEVEL_INFORMATION)
     {
         dlog(level, fmt, arg0, arg1, arg2);
     }
 }
示例#2
0
文件: Logging.cs 项目: whiker/rDSN
 public static void dfatal(dsn_log_level_t level, string fmt, object arg0, object arg1, object arg2)
 {
     if (Native.dsn_log_get_start_level() >= dsn_log_level_t.LOG_LEVEL_FATAL)
     {
         dlog(level, fmt, arg0, arg1, arg2);
     }
 }
示例#3
0
文件: Logging.cs 项目: whiker/rDSN
 public static void derror(dsn_log_level_t level, string fmt, object arg0, object arg1)
 {
     if (Native.dsn_log_get_start_level() >= dsn_log_level_t.LOG_LEVEL_ERROR)
     {
         dlog(level, fmt, arg0, arg1);
     }
 }
示例#4
0
文件: Logging.cs 项目: whiker/rDSN
 /// <summary>
 ///
 /// </summary>
 /// <param name="?"></param>
 /// <param name="?"></param>
 ///
 public static void dfatal(dsn_log_level_t level, string fmt)
 {
     if (Native.dsn_log_get_start_level() >= dsn_log_level_t.LOG_LEVEL_FATAL)
     {
         dlog(level, fmt);
     }
 }
示例#5
0
文件: Logging.cs 项目: whiker/rDSN
 public static void dwarn(dsn_log_level_t level, string fmt, object arg0, object arg1, object arg2)
 {
     if (Native.dsn_log_get_start_level() >= dsn_log_level_t.LOG_LEVEL_WARNING)
     {
         dlog(level, fmt, arg0, arg1, arg2);
     }
 }