Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Added a macro, LOG_DEBUG_MARK, that simply inserts a debug message in…
Browse files Browse the repository at this point in the history
… the log with the file and line number.
  • Loading branch information
jsbackus committed Nov 26, 2016
1 parent 1e66e4b commit b046c79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#include <QTimer>
#include <QFile>

#define LOG_DEBUG_MARK Logger::LogDebug(QString(__FILE__) + QString(", line ") + \
QString::number(__LINE__), true, true);

class Logger : public QObject
{
Q_OBJECT
Expand Down

0 comments on commit b046c79

Please sign in to comment.