public static void LogInfo(object message, string tag) { if ((Level == LogLevel.Verbose || Level == LogLevel.Info) && SwrveLog.OnLog != null) { SwrveLog.OnLog(LogLevel.Info, message, tag); } }
public static void LogError(object message, string tag) { if ((Level == LogLevel.Verbose || Level == LogLevel.Info || Level == LogLevel.Warning || Level == LogLevel.Error) && SwrveLog.OnLog != null) { SwrveLog.OnLog(LogLevel.Error, message, tag); } }
public static void Log(object message, string tag) { if (Level == LogLevel.Verbose && SwrveLog.OnLog != null) { SwrveLog.OnLog(LogLevel.Verbose, message, tag); } }
public static void LogError(object message, string tag) { if (SwrveLog.Level == SwrveLog.LogLevel.Verbose || SwrveLog.Level == SwrveLog.LogLevel.Info || SwrveLog.Level == SwrveLog.LogLevel.Warning || SwrveLog.Level == SwrveLog.LogLevel.Error) { Debug.LogError(message); if (SwrveLog.OnLog != null) { SwrveLog.OnLog(SwrveLog.LogLevel.Error, message, tag); } } }
public static void LogInfo(object message, string tag) { if (SwrveLog.Level == SwrveLog.LogLevel.Verbose || SwrveLog.Level == SwrveLog.LogLevel.Info) { Debug.Log(message); if (SwrveLog.OnLog != null) { SwrveLog.OnLog(SwrveLog.LogLevel.Info, message, tag); } } }