Add run information to the log

This commit is contained in:
lukeIam committed 2018-01-19 21:39:35 +01:00
1 parent 919a79b8b2
commit 735992d5c5
1 file changed
+3
+3
View File
@@ -100,6 +100,9 @@ namespace VocaluxeLib.Log
.WriteTo.Console(outputTemplate: "[SongInfo] " + _SongLogTemplate) .WriteTo.Console(outputTemplate: "[SongInfo] " + _SongLogTemplate)
#endif #endif
.CreateLogger(); .CreateLogger();
// Adding fist line to log with information about this run
Information("Starting to log", Params( new { Version = _CurrentVersion, StartDate = DateTime.Now, Id = Guid.NewGuid() } ) );
} }
public static void Close() public static void Close()