Add run information to the log
This commit is contained in:
1 parent
919a79b8b2
commit
735992d5c5
1 file changed
+3
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user