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

-10
View File
@@ -166,16 +166,6 @@ namespace VocaluxeLib
IMenu GetScreen(EScreen screen);
}
public interface ILog
{
void LogError(Exception exeption, string errorText, bool showMsg = false, bool exit = false, [CallerMemberName] string callerMethodeName = "", [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumer = -1, params object[] propertyValues);
void LogError(string errorText, bool showMsg = false, bool exit = false, [CallerMemberName] string callerMethodeName = "", [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumer = -1, params object[] propertyValues);
void LogDebug(string text, [CallerMemberName] string callerMethodeName = "", [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumer = -1, params object[] propertyValues);
void LogSongWarning(string text, params object[] propertyValues);
void LogSongError(Exception exception, string text, params object[] propertyValues);
void LogSongError(string text, params object[] propertyValues);
}
public interface IFonts
{
RectangleF GetTextBounds(CText text);