Сервер для сбора данных с термодатчиковых модулей

This commit is contained in:
ftc
2021-04-10 14:41:43 +03:00
parent 087db98d98
commit bba851ae16
13 changed files with 653 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
using NLog;
namespace ESPServer
{
public static class Logging
{
public static void Setup()
{
var config = new NLog.Config.LoggingConfiguration();
var logConsole = new NLog.Targets.ConsoleTarget("logconsole");
config.AddRuleForAllLevels(logConsole);
LogManager.Configuration = config;
}
}
}