Add additional logging functionality

This commit is contained in:
Flamefire committed 2014-08-14 16:06:43 +02:00
1 parent 43fff7f52f
commit d20c31ef71
3 files changed
+3 -4

No files matched your search

+2 -2
View File
@@ -434,9 +434,9 @@ namespace Vocaluxe.Base
class CBlog : ILog class CBlog : ILog
{ {
public void LogError(string errorText) public void LogError(string errorText, bool showMsg = false, bool exit = false)
{ {
CLog.LogError(errorText); CLog.LogError(errorText, showMsg, exit);
} }
public void LogDebug(string text) public void LogDebug(string text)
+1 -1
View File
@@ -152,7 +152,7 @@ namespace VocaluxeLib
public interface ILog public interface ILog
{ {
void LogError(string errorText); void LogError(string errorText, bool showMsg = false, bool exit = false);
void LogDebug(string text); void LogDebug(string text);
void LogSongInfo(string text); void LogSongInfo(string text);
} }
-1
View File
@@ -16,7 +16,6 @@
#endregion #endregion
using System; using System;
using System.Drawing;
using System.Xml; using System.Xml;
using VocaluxeLib.Draw; using VocaluxeLib.Draw;