mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
26 lines
491 B
C#
26 lines
491 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
|