cruelman/CruelMan/Utils/Log.cs
2024-01-20 13:52:41 +01:00

21 lines
491 B
C#

namespace CruelMan.Utils {
public static class Log {
public static void Info(string message) {
#if DEBUG
UnityEngine.Debug.Log($"[CruelMan] {message}");
#endif
}
public static void Warn(string message) {
#if DEBUG
UnityEngine.Debug.LogWarning($"[CruelMan] {message}");
#endif
}
public static void Error(string message) {
#if DEBUG
UnityEngine.Debug.LogError($"[CruelMan] {message}");
#endif
}
}
}