Merge lp:~kissiel/checkbox/touch-logging into lp:checkbox
Proposed by
Maciej Kisielewski
Status: | Merged |
---|---|
Approved by: | Zygmunt Krynicki |
Approved revision: | 3571 |
Merged at revision: | 3572 |
Proposed branch: | lp:~kissiel/checkbox/touch-logging |
Merge into: | lp:checkbox |
Diff against target: |
141 lines (+116/-0) 3 files modified
checkbox-touch/components/PythonLogger.qml (+98/-0) checkbox-touch/main.qml (+14/-0) checkbox-touch/py/checkbox_touch.py (+4/-0) |
To merge this branch: | bzr merge lp:~kissiel/checkbox/touch-logging |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Zygmunt Krynicki (community) | Approve | ||
Review via email: mp+249036@code.launchpad.net |
Description of the change
This MR brings new logging to Checkbox-Touch. This makes logging more robust and easier to manage.
536d2ef checkbox-touch: add python logger
PythonLogger component is defined that uses pyotherside to forward logging events to python logging module.
fb7207c checkbox-touch: export checkbox.touch.qml logger to qml
9ce6636 checkbox-touch: use PythonLogger in checkbox-touch
Second, PythonLogger is used in Checkbox-Touch, overriding console.log and console.error, making them send events to python logging.
To post a comment you must log in.
This looks good, +1, some typos below