public static void Warning(string msg)
{
DateTime dateTime = DateTime.Now;
string s = $"{dateTime.ToString("yyyy-MM-dd HH:mm:ss")} {msg}";
info.WriteLine(s);
if (IsNeedFlush)
{
info.Flush();
}
#if UNITY_EDITOR
UnityEngine.Debug.LogWarning(s);
#endif
}