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