This commit is contained in:
JustArchi
2016-05-30 02:03:33 +02:00
parent cdcaa9b06c
commit ff971f7615
2 changed files with 20 additions and 20 deletions

View File

@@ -30,13 +30,13 @@ using ConfigGenerator.Properties;
namespace ConfigGenerator {
internal static class Logging {
internal static void LogGenericInfo(string message, [CallerMemberName] string previousMethodName = null) {
internal static void LogGenericInfoWithoutStacktrace(string message) {
if (string.IsNullOrEmpty(message)) {
LogNullError(nameof(message));
return;
}
MessageBox.Show(previousMethodName + @"() " + message, Resources.Information, MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBox.Show(message, Resources.Information, MessageBoxButtons.OK, MessageBoxIcon.Information);
}
internal static void LogGenericError(string message, [CallerMemberName] string previousMethodName = null) {