Skip to content

Commit

Permalink
enable debug logs in debug builds
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Sep 12, 2023
1 parent afeca8e commit 43be5d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libsync/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ Logger::Logger(QObject *parent)
Logger::instance()->doLog(type, ctx, message);
});
#endif
#if defined(QT_DEBUG)
setLogDebug(true);
setLogFlush(true);
#endif
}

Logger::~Logger()
Expand Down

0 comments on commit 43be5d3

Please sign in to comment.