mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
27 lines
582 B
C#
27 lines
582 B
C#
namespace ET.Server
|
|
{
|
|
public static class RobotLog
|
|
{
|
|
#if DOTNET
|
|
public static void Debug(ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler message)
|
|
{
|
|
Logger.Instance.Debug(message.ToStringAndClear());
|
|
}
|
|
|
|
public static void Console(ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler message)
|
|
{
|
|
Logger.Instance.Console(message.ToStringAndClear());
|
|
}
|
|
#endif
|
|
|
|
public static void Debug(string msg)
|
|
{
|
|
Logger.Instance.Debug(msg);
|
|
}
|
|
|
|
public static void Console(string msg)
|
|
{
|
|
Logger.Instance.Console(msg);
|
|
}
|
|
}
|
|
} |