Files
FreeSR/FreeSR.Shared/Command/Context/ConsoleCommandContext.cs
2024-01-27 21:06:07 +08:00

20 lines
419 B
C#

namespace FreeSR.Shared.Command.Context
{
using NLog;
public class ConsoleCommandContext : ICommandContext
{
private static readonly Logger s_log = LogManager.GetCurrentClassLogger();
public void SendMessage(string message)
{
s_log.Info(message);
}
public void SendError(string message)
{
s_log.Error(message);
}
}
}