[Kde-games-devel] Review Request 127708: KBreakout: Introduce Logging Categories

Julian Helfferich julian.helfferich at googlemail.com
Fri Apr 22 15:55:17 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127708/
-----------------------------------------------------------

Review request for KDE Games.


Repository: kbreakout


Description
-------

I am currently trying to track down some of the more intricate bugs of kbreakout, such as bug 354517, bug 328812, and bug 328811. To get to the root of the problem, a lot of debug output is necessary.

In the process, I learned about QLoggingCategories and added them to kbreakout. Generally, I looked at how other games use QLoggingCategories and copied the approach from Laurent Montel (KSnakeDuel, Grantier) and Frederik Schwarzer (KMahjongg). However, as I am no expert in Qt, I would appreciate your feedback.


Diffs
-----

  src/CMakeLists.txt eac51ff 
  src/canvaswidget.cpp 1d80bfa 
  src/gameengine.cpp 541f60c 
  src/kbreakout_debug.h PRE-CREATION 
  src/kbreakout_debug.cpp PRE-CREATION 
  src/levelloader.cpp e609536 

Diff: https://git.reviewboard.kde.org/r/127708/diff/


Testing
-------

Compiled, played, confirmed that output is written to console.


Thanks,

Julian Helfferich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20160422/03c4619b/attachment.html>


More information about the kde-games-devel mailing list