Логирование, багфиксы, добавил мониторин /proc/mdstat. Юнит для systemd
This commit is contained in:
+16
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user