public static void Log(string msg) { msg = prepare_message(msg); UnityEngine.Debug.Log(msg); #if DEBUG BackupLogger.LogRaw(msg); #endif }
public static void Log(string msg, params object[] args) { msg = prepare_message(msg); if (args.Length > 0) { convert_args(args); msg = Format(msg, args); } UnityEngine.Debug.Log(msg); #if DEBUG BackupLogger.LogRaw(msg); #endif }