diff options
author | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-05-16 21:54:57 -0700 |
---|---|---|
committer | Daniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu> | 2010-05-16 21:54:57 -0700 |
commit | eaff4e21a649095d81992eb8c11c2ddf6eb617ed (patch) | |
tree | 401ebba39bcfa0a1522ac9ba4a92da6403a9a082 /tests/cppunit_test_main.cc | |
parent | e5cd66479d3412d825676c9d2725c87591584251 (diff) | |
download | aptitude-eaff4e21a649095d81992eb8c11c2ddf6eb617ed.tar.gz |
Imported Upstream version 0.6.2.1
Diffstat (limited to 'tests/cppunit_test_main.cc')
-rw-r--r-- | tests/cppunit_test_main.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/cppunit_test_main.cc b/tests/cppunit_test_main.cc index 6bc9cea0..ebe49f90 100644 --- a/tests/cppunit_test_main.cc +++ b/tests/cppunit_test_main.cc @@ -24,6 +24,8 @@ #include <log4cxx/level.h> #include <log4cxx/logger.h> +#include <loggers.h> + #include <stdio.h> #include <string.h> @@ -42,10 +44,10 @@ int main(int argc, char **argv) } if(debug) - log4cxx::Logger::getRootLogger()->setLevel(log4cxx::Level::getTrace()); + logging::Logger::getRootLogger()->setLevel(logging::Level::getTrace()); else - log4cxx::Logger::getRootLogger()->setLevel(log4cxx::Level::getWarn()); - log4cxx::BasicConfigurator::configure(); + logging::Logger::getRootLogger()->setLevel(logging::Level::getWarn()); + logging::BasicConfigurator::configure(); CppUnit::TextTestRunner runner; CppUnit::TestFactoryRegistry ®istry = |