Skip to content
Commit 842a1e20 authored by Luigi Toscano's avatar Luigi Toscano
Browse files

Initial cleanup of the debug statements (qDebug, dbk, dbe)

Summary:
There was a combination of qDebug, kDebug and custom macros
which redirected to qDebug, standard error or standard output.

This is the first attempt to unify all of the above with the usage
of Qt categorized logging. Fixed in the patch:
- direct usage of qDebug;
- kDebug though the dbk macro;
- standard error through the dbe macro.
The levels for dbk/dbe messages have been aligned with the level
of the respective macros.
Few standard output/dbo macros have been cleaned as well, but many
are still used. At least their usage is confined to one file only
(src/generator/sudokuboard.cpp). Some of those messages produces
formatted output, so they may require overloads of the << operator,
if they need to be kept.

Test Plan: Compiles.

Reviewers: ouwerkerk, stikonas, #kde_games

Reviewed By: stikonas

Subscribers: #kde_games

Differential Revision: https://phabricator.kde.org/D5626
parent 45e1f086
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment