Логирование, багфиксы, добавил мониторин /proc/mdstat. Юнит для systemd

This commit is contained in:
ftc
2020-08-30 09:15:43 +03:00
parent 092cba1cee
commit bbb0f9c63e
10 changed files with 241 additions and 79 deletions
+16
View File
@@ -0,0 +1,16 @@
using NLog;
namespace Barsik
{
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;
}
}
}