Refactor logging

This commit is contained in:
lukeIam committed 2018-01-16 11:57:15 +01:00
1 parent b930588556
commit c907ec0f44
67 files changed
+2039 -627

No files matched your search

+3 -2
View File
@@ -20,6 +20,7 @@ using System.Collections.Generic;
using System.Drawing;
using System.Globalization;
using System.IO;
using VocaluxeLib.Log;
namespace VocaluxeLib
{
@@ -297,7 +298,7 @@ namespace VocaluxeLib
{
if (!File.Exists(filePath))
{
CBase.Log.LogError("Can't find File: " + filePath);
CLog.Error("Can't find File: " + filePath);
return null;
}
Bitmap bmp;
@@ -307,7 +308,7 @@ namespace VocaluxeLib
}
catch (Exception)
{
CBase.Log.LogError("Error loading bitmap: " + filePath);
CLog.Error("Error loading bitmap: " + filePath);
return null;
}
return bmp;