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

Commit

Permalink
fix(logging): only log toxcore messages above TRACE level
Browse files Browse the repository at this point in the history
  • Loading branch information
sudden6 authored and anthonybilinski committed Jul 15, 2018
1 parent 4921b88 commit 4dc7420
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/toxlogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ void ToxLogger::onLogMessage(Tox *tox, TOX_LOG_LEVEL level, const char *file, ui

switch (level) {
case TOX_LOG_LEVEL_TRACE:
return; // trace level generates too much noise to enable by default
case TOX_LOG_LEVEL_DEBUG:
case TOX_LOG_LEVEL_INFO:
qDebug() << logMsg;
Expand Down

0 comments on commit 4dc7420

Please sign in to comment.