From b046c79fa2ec0a7f2455918695f2413252634c25 Mon Sep 17 00:00:00 2001 From: Jeff Backus Date: Sat, 26 Nov 2016 09:56:20 -0500 Subject: [PATCH] Added a macro, LOG_DEBUG_MARK, that simply inserts a debug message in the log with the file and line number. --- src/logger.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/logger.h b/src/logger.h index d697c109..d096aa92 100644 --- a/src/logger.h +++ b/src/logger.h @@ -26,6 +26,9 @@ #include #include +#define LOG_DEBUG_MARK Logger::LogDebug(QString(__FILE__) + QString(", line ") + \ + QString::number(__LINE__), true, true); + class Logger : public QObject { Q_OBJECT