Example #1
0
 /// <summary>
 /// Initialize the logger
 /// </summary>
 private static void InitializeLogger()
 {
     LoggerConfigurator.ConfigureLogger();
     Log.Information(
         $"{Application.ProductName}  {AssemblyUtils.GetReleaseState()} ({Application.ProductVersion})");
     Log.Information($"OS: {Environment.OSVersion}");
     Log.Information($"Framework: {Environment.Version}");
 }
Example #2
0
 /// <summary>
 /// Initialize the logger
 /// </summary>
 private static void InitializeLogger()
 {
     LoggerConfigurator.ConfigureLogger();
 }