Nicklas Bourelius b15f3b7391 Color now working.
Need to implement: Slider and logic for it and UI and the logic for that as well.
2024-05-23 18:36:51 +02:00

33 lines
760 B
C#

using System.Diagnostics;
namespace Proxima
{
internal class Log
{
[Conditional("PROXIMA_LOG_VERBOSE")]
public static void Verbose(string message)
{
UnityEngine.Debug.Log("PXV: " + message);
}
public static void Info(string message)
{
UnityEngine.Debug.Log("PX: " + message);
}
public static void Warning(string message)
{
UnityEngine.Debug.LogWarning("PX: " + message);
}
public static void Error(string message)
{
UnityEngine.Debug.LogError("PX: " + message);
}
public static void Exception(System.Exception e)
{
UnityEngine.Debug.LogException(e);
}
}
}