2025-01-23 19:06:48 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace AlicizaX.Resource.Runtime
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ResourceLogger : YooAsset.ILogger
|
|
|
|
|
|
{
|
|
|
|
|
|
public void Log(string message)
|
|
|
|
|
|
{
|
2025-04-28 19:45:45 +08:00
|
|
|
|
AlicizaX.Log.Info(message);
|
2025-01-23 19:06:48 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Warning(string message)
|
|
|
|
|
|
{
|
2025-04-28 19:45:45 +08:00
|
|
|
|
AlicizaX.Log.Warning(message);
|
2025-01-23 19:06:48 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Error(string message)
|
|
|
|
|
|
{
|
2025-04-28 19:45:45 +08:00
|
|
|
|
AlicizaX.Log.Error(message);
|
2025-01-23 19:06:48 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Exception(Exception exception)
|
|
|
|
|
|
{
|
2025-04-28 19:45:45 +08:00
|
|
|
|
AlicizaX.Log.Exception(exception);
|
2025-01-23 19:06:48 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-04-28 19:45:45 +08:00
|
|
|
|
}
|