unity-atoms/Source/Logger/AtomsLogger.cs

26 lines
491 B
C#
Raw Normal View History

2019-04-05 08:36:20 -04:00
using UnityEngine;
namespace UnityAtoms.Logger
{
public static class AtomsLogger
{
private const string logPrefix = "Unity Atoms :: ";
public static void Log(string msg)
{
Debug.Log(logPrefix + msg);
}
public static void Warning(string msg)
{
Debug.LogWarning(logPrefix + msg);
}
public static void Error(string msg)
{
Debug.LogError(logPrefix + msg);
}
}
}