[mythtv-commits] mythtv branch devel/logging updated by danielk. v0.27-pre2-774-g29d5e1c

Git Repo Owner noreply at mythtv.org
Sat Apr 6 13:04:27 UTC 2013


The branch, devel/logging has been updated on the
mythtv repository by gitolite user danielk.
       via  29d5e1c9e8a93d97e50149eb54fe8b151e405a2b (commit)
       via  95e95d7a5346fb3dd577a1f8eeb65e8145d15e01 (commit)
      from  824499e87ad2a92843fe73a8c8ecac5c39ce04cb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 29d5e1c9e8a93d97e50149eb54fe8b151e405a2b
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sat, 6 Apr 2013 09:03:07 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sat, 6 Apr 2013 09:03:07 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=29d5e1c9e8a93d97e50149eb54fe8b151e405a2b

Fix LOG_logs_on_higher_log_level.



commit 95e95d7a5346fb3dd577a1f8eeb65e8145d15e01
Author:    Daniel Kristjansson <danielk at cuymedia.net> at Sat, 6 Apr 2013 09:00:22 -0400
Committer: Daniel Kristjansson <danielk at cuymedia.net> at Sat, 6 Apr 2013 09:02:22 -0400
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=95e95d7a5346fb3dd577a1f8eeb65e8145d15e01

Add basic file logging.
This also adds a debugging logger that just logs to an ever expanding vector.

Note: One of the unit tests is now failing because we are checking if things
made it all the way to the debugging logger's list, this isn't a regression
in the code. It will be fixed in a subsequent commit.



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/libmythbase.pro            |    5 +-
 .../libs/libmythbase/logging/debugloghandler.cpp   |    4 +
 mythtv/libs/libmythbase/logging/debugloghandler.h  |  205 ++++++++++++++++++++
 mythtv/libs/libmythbase/logging/logdeque.cpp       |   68 ++++++-
 mythtv/libs/libmythbase/logging/logdeque.h         |   27 +--
 mythtv/libs/libmythbase/logging/logentry.h         |   12 +-
 mythtv/libs/libmythbase/logging/loghandler.cpp     |  137 +++++++++++++
 mythtv/libs/libmythbase/logging/loghandler.h       |   47 +++++
 mythtv/libs/libmythbase/mythcommandlineparser.cpp  |   33 +++-
 mythtv/libs/libmythbase/mythlogging.cpp            |    9 +-
 mythtv/libs/libmythbase/mythlogging_extra.h        |    6 +-
 .../test/test_mythlogging/test_mythlogging.h       |  119 ++++++------
 .../test/test_mythlogging/test_mythlogging.pro     |    6 +
 13 files changed, 581 insertions(+), 97 deletions(-)
 create mode 100644 mythtv/libs/libmythbase/logging/debugloghandler.cpp
 create mode 100644 mythtv/libs/libmythbase/logging/debugloghandler.h
 create mode 100644 mythtv/libs/libmythbase/logging/loghandler.cpp
 create mode 100644 mythtv/libs/libmythbase/logging/loghandler.h

-- 



More information about the mythtv-commits mailing list