/// <summary> /// 写日志。 /// </summary> /// <param name="message">日志内容</param> private static void Log(string message, LogLevel level, bool writeEditorLog = true) { var msg = string.Concat(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss,fff"), message); m_logWriter.WriteLog(msg, level, writeEditorLog); //Debugger.Log(0, "TestRPC", message); }
private static void Log(string message, LogLevel level, bool writeEditorLog = true) { string msg = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss,fff") + message; m_logWriter.WriteLog(msg, level, writeEditorLog); }