From 735992d5c56139b375ff9106265938ccee72d374 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Fri, 19 Jan 2018 21:39:35 +0100 Subject: [PATCH] Add run information to the log --- VocaluxeLib/Log/CLog.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VocaluxeLib/Log/CLog.cs b/VocaluxeLib/Log/CLog.cs index da311ec7..10764b37 100644 --- a/VocaluxeLib/Log/CLog.cs +++ b/VocaluxeLib/Log/CLog.cs @@ -100,6 +100,9 @@ namespace VocaluxeLib.Log .WriteTo.Console(outputTemplate: "[SongInfo] " + _SongLogTemplate) #endif .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()