HaikuDepot: Improved logging control

Operating Systems / Haiku - Andrew Lindesay [lindesay.co.nz] - 5 November 2017 14:26 EST

The application had previously no means to control the verbosity of logging. This excessive logging meant that it was bit hard to understand what is going on. Now it is possible to define the level of logging that is output; especially as the application pulls-down data from the remote server system.

f0665db479 HaikuDepot: Improved logging control
src/apps/haikudepot/Jamfile | 1 +
src/apps/haikudepot/model/Logger.cpp | 62 ++++++++++++++++++
src/apps/haikudepot/model/Logger.h | 40 ++++++++++++
src/apps/haikudepot/model/Model.cpp | 75 ++++++++++++++--------
src/apps/haikudepot/model/PackageInfo.cpp | 7 ++
src/apps/haikudepot/model/PackageInfo.h | 6 ++
.../haikudepot/server/AbstractServerProcess.cpp | 3 +-
.../server/RepositoryDataUpdateProcess.cpp | 22 ++++---
.../server/ServerIconExportUpdateProcess.cpp | 6 +-
src/apps/haikudepot/server/ServerSettings.cpp | 12 ----
src/apps/haikudepot/server/ServerSettings.h | 3 -
src/apps/haikudepot/server/WebAppInterface.cpp | 12 ++--
.../DumpExportRepositoryJsonListener.cpp | 2 +-
src/apps/haikudepot/tar/TarArchiveService.cpp | 10 ++-
src/apps/haikudepot/ui/App.cpp | 56 +++++++++++-----
15 files changed, 236 insertions(+), 81 deletions(-)

Upstream: cgit.haiku-os.org


  • Share