Fix gestione e display versione

This commit is contained in:
Samuele Locatelli
2022-06-21 14:31:49 +02:00
parent fc36b427c4
commit d27dbbeb07
21 changed files with 29 additions and 18 deletions
+3
View File
@@ -7,6 +7,7 @@ using MP.MONO.Core.DTO;
using Newtonsoft.Json;
using NLog;
using StackExchange.Redis;
using System.Reflection;
using static MP.MONO.Core.Enums;
// init parte config, vedere https://blog.hildenco.com/2020/05/configuration-in-net-core-console.html
@@ -37,6 +38,8 @@ bool logWriting = false;
logInfo(lineSep, true, true);
logInfo($"Starting Machine SIM", true, true);
logInfo($"vers.{Assembly.GetExecutingAssembly().GetName().Version}", true, true);
logInfo("", true, true);
logInfo($"Redis server param: {redisConf.Substring(0, 20)}...", false, true);
logInfo(lineSep, true, true);
logInfo("", true, true);