AxibugEmuOnline/AxibugEmuOnline.Client/Assets/VirtualNes.Core/Debuger.cs

27 lines
601 B
C#
Raw Normal View History

2024-08-16 10:20:00 +08:00
namespace VirtualNes.Core.Debug
2024-07-23 18:31:59 +08:00
{
public static class Debuger
{
private static IDebugerImpl s_debuger;
public static void Setup(IDebugerImpl debuger)
{
s_debuger = debuger;
}
public static void Log(string message)
{
s_debuger.Log(message);
}
public static void LogError(string message)
{
s_debuger.LogError(message);
}
}
public interface IDebugerImpl
{
void Log(string message);
void LogError(string message);
}
}