예제 #1
0
 public static void error(string name, string log)
 {
     if (NetLog.levelList.IndexOf(4) != -1 || NetLog.levelList.IndexOf(5) != -1)
     {
         NetLog.format(name, "ERROR", log);
     }
 }
예제 #2
0
 public static void warin(string name, string log)
 {
     if (NetLog.levelList.IndexOf(3) != -1 || NetLog.levelList.IndexOf(5) != -1)
     {
         NetLog.format(name, "WARIN", log);
     }
 }
예제 #3
0
 public static void info(string name, string log)
 {
     if (NetLog.levelList.IndexOf(2) != -1 || NetLog.levelList.IndexOf(5) != -1)
     {
         NetLog.format(name, "INFO", log);
     }
 }
예제 #4
0
 public static void debug(string name, string log)
 {
     if (NetLog.levelList.IndexOf(1) != -1 || NetLog.levelList.IndexOf(5) != -1)
     {
         NetLog.format(name, "DEBUG", log);
     }
 }
예제 #5
0
 public static void error(object obj, string log)
 {
     NetLog.error(obj.GetType().FullName, log);
 }
예제 #6
0
 public static void warin(object obj, string log)
 {
     NetLog.warin(obj.GetType().FullName, log);
 }
예제 #7
0
 public static void debug(object obj, string log)
 {
     NetLog.debug(obj.GetType().FullName, log);
 }