This repository has been archived on 2024-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
FreeSR/FreeSR.Shared/Command/Context/ConsoleCommandContext.cs

20 lines
419 B
C#
Raw Normal View History

2024-01-27 13:06:07 +00:00
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);
}
}
}