Init
This commit is contained in:
21
Assets/ThirdParty/UniFramework/UniMachine/Runtime/UniLogger.cs
vendored
Normal file
21
Assets/ThirdParty/UniFramework/UniMachine/Runtime/UniLogger.cs
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace UniFramework.Machine
|
||||
{
|
||||
internal static class UniLogger
|
||||
{
|
||||
[Conditional("DEBUG")]
|
||||
public static void Log(string info)
|
||||
{
|
||||
UnityEngine.Debug.Log(info);
|
||||
}
|
||||
public static void Warning(string info)
|
||||
{
|
||||
UnityEngine.Debug.LogWarning(info);
|
||||
}
|
||||
public static void Error(string info)
|
||||
{
|
||||
UnityEngine.Debug.LogError(info);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user