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

Julian Helfferich julian.helfferich at googlemail.com
Wed May 11 01:37:06 UTC 2016


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

(Updated May 10, 2016, 8:37 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Games.


Changes
-------

Submitted with commit c5011f58d4acb04883d3863dce18c1367ab685e9 by Julian Helfferich to branch master.


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/20160511/69d72c9e/attachment.html>


More information about the kde-games-devel mailing list