Files
TEngine/Assets/GameScripts/DotNet/Model/Server/Module/RobotCase/RobotLog.cs
ALEXTANG 336d4b2eb9 [+] 接入ET8服务端
[+] 接入ET8服务端
2023-07-13 12:23:48 +08:00

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);
}
}
}