2024-04-11 16:44:25 +08:00
|
|
|
|
namespace Game.Log
|
2024-04-11 14:44:39 +08:00
|
|
|
|
{
|
2024-04-11 16:44:25 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 便于真机上取消log
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static class Log
|
2024-04-11 14:44:39 +08:00
|
|
|
|
{
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public static void Debug(object message)
|
|
|
|
|
{
|
|
|
|
|
UnityEngine.Debug.Log(message);
|
|
|
|
|
}
|
2024-04-11 14:44:39 +08:00
|
|
|
|
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public static void LogWarning(object message)
|
|
|
|
|
{
|
|
|
|
|
UnityEngine.Debug.LogWarning(message);
|
|
|
|
|
}
|
2024-04-11 14:44:39 +08:00
|
|
|
|
|
2024-04-11 16:44:25 +08:00
|
|
|
|
public static void LogError(object message)
|
|
|
|
|
{
|
|
|
|
|
UnityEngine.Debug.LogError(message);
|
|
|
|
|
}
|
2024-04-11 14:44:39 +08:00
|
|
|
|
}
|
|
|
|
|
}
|