Add new Hcs.Broker to communicate with ГИС ЖКХ via CryptoPro LibCore
This commit is contained in:
12
Hcs.Broker/Logger/ActionLogger.cs
Normal file
12
Hcs.Broker/Logger/ActionLogger.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace Hcs.Broker.Logger
|
||||
{
|
||||
public class ActionLogger : ILogger
|
||||
{
|
||||
public Action<string> OnWriteLine;
|
||||
|
||||
public void WriteLine(string message)
|
||||
{
|
||||
OnWriteLine?.Invoke(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user