mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 16:48:23 -05:00
26 lines
495 B
C#
26 lines
495 B
C#
using UnityEngine;
|
|
|
|
namespace UnityAtoms.Logger
|
|
{
|
|
public static class AtomsLogger
|
|
{
|
|
private const string LOG_PREFIX = "Unity Atoms :: ";
|
|
|
|
public static void Log(string msg)
|
|
{
|
|
Debug.Log(LOG_PREFIX + msg);
|
|
}
|
|
|
|
public static void Warning(string msg)
|
|
{
|
|
Debug.LogWarning(LOG_PREFIX + msg);
|
|
}
|
|
|
|
public static void Error(string msg)
|
|
{
|
|
Debug.LogError(LOG_PREFIX + msg);
|
|
}
|
|
}
|
|
}
|
|
|