Base.Log.Warning C# (CSharp) Method

Warning() public static method

public static Warning ( string msg ) : void
msg string
return void
		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
		}