using PatcherServer.Helper; namespace PatcherServer.FileCheck { public static class Log { public static bool isDebug = true; private static object sLock = new object(); public static void WriteLine(ELogLevel pLogLevel, string pFormat, params object[] pArgs) { if (pLogLevel == ELogLevel.Debug && !isDebug) return; string text = string.Format(pFormat, pArgs); LogHelper.Instance.WriteLine(text); } } public enum ELogLevel { Info, Warn, Error, Exception, Debug } }