Merge lp://staging/~phablet-team/media-hub/add-logger into lp://staging/media-hub
Proposed by
Jim Hodapp
Status: | Superseded |
---|---|
Proposed branch: | lp://staging/~phablet-team/media-hub/add-logger |
Merge into: | lp://staging/media-hub |
Diff against target: |
2780 lines (+819/-331) 32 files modified
CMakeLists.txt (+1/-1) debian/bileto_pre_release_hook (+21/-52) debian/control (+6/-6) debian/control.in (+1/-0) debian/get-versions.sh (+5/-3) debian/rules (+1/-1) include/core/media/player.h (+23/-0) src/core/media/CMakeLists.txt (+9/-0) src/core/media/apparmor/ubuntu.cpp (+7/-6) src/core/media/audio/pulse_audio_output_observer.cpp (+10/-8) src/core/media/gstreamer/engine.cpp (+30/-29) src/core/media/gstreamer/playbin.cpp (+39/-46) src/core/media/logger/logger.cpp (+161/-0) src/core/media/logger/logger.h (+131/-0) src/core/media/non_copyable.h (+36/-0) src/core/media/player_implementation.cpp (+39/-38) src/core/media/player_skeleton.cpp (+6/-4) src/core/media/player_stub.cpp (+10/-6) src/core/media/power/state_controller.cpp (+13/-13) src/core/media/server/server.cpp (+34/-0) src/core/media/service.cpp (+3/-1) src/core/media/service_implementation.cpp (+27/-26) src/core/media/service_skeleton.cpp (+20/-19) src/core/media/telephony/CMakeLists.txt (+1/-0) src/core/media/telephony/call_monitor.cpp (+9/-7) src/core/media/telephony/qtbridge.cpp (+0/-2) src/core/media/track_list_implementation.cpp (+25/-23) src/core/media/track_list_skeleton.cpp (+31/-32) src/core/media/track_list_stub.cpp (+9/-7) src/core/media/util/utils.cpp (+41/-0) src/core/media/util/utils.h (+69/-0) src/core/media/video/platform_default_sink.cpp (+1/-1) |
To merge this branch: | bzr merge lp://staging/~phablet-team/media-hub/add-logger |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alfonso Sanchez-Beato | Approve | ||
Konrad Zapałowicz (community) | code | Approve | |
Review via email:
|
This proposal has been superseded by a proposal from 2016-04-06.
Commit message
Add a proper logger to media-hub that includes traces, timestamps and other conveniences and no longer rely on cout/cerr.
Description of the change
Add a proper logger to media-hub that includes traces, timestamps and other conveniences and no longer rely on cout/cerr.
To post a comment you must log in.
Not many issues compared to the length of the diff and frankly I'm mostly concerned about the own noncopyable class.
There is also one thing which is not bad however I would like to highlight it. I did not like the need to create stringstream in so many cases to log a line as basically this is repeating.