Add commands for Broker, autosave and clean logging

This commit is contained in:
2019-04-27 11:29:31 +02:00
parent f67d070fc3
commit d8c7a9e2c5
6 changed files with 75 additions and 7 deletions

View File

@@ -87,7 +87,7 @@ namespace PlantBox.Broker
protected void Log(string message)
{
Console.WriteLine($"[{LogPrefix}] {message}");
Console.WriteLine($"[{LogPrefix}]({DateTime.Now:HH:mm:ss}) {message}");
}
protected abstract void CaptorsCommand(CommandStream commandStream, CommandPacket packet);