Mercurial > hg > orthanc
diff UnitTests/main.cpp @ 101:428784e59dcd
trying to use log4cplus
author | jodogne |
---|---|
date | Wed, 03 Oct 2012 11:44:46 +0200 |
parents | 27dc762e3dc8 |
children | 7593b57dc1bf |
line wrap: on
line diff
--- a/UnitTests/main.cpp Wed Oct 03 09:33:25 2012 +0200 +++ b/UnitTests/main.cpp Wed Oct 03 11:44:46 2012 +0200 @@ -281,13 +281,13 @@ +#include "../Core/Logging.h" + #if DCMTK_BUNDLES_LOG4CPLUS == 0 -#include <log4cplus/logger.h> #include <log4cplus/consoleappender.h> #include <log4cplus/fileappender.h> #include <log4cplus/configurator.h> #else -#include <dcmtk/oflog/logger.h> #include <dcmtk/oflog/consap.h> #include <dcmtk/oflog/fileap.h> //#include <dcmtk/oflog/configurator.h> @@ -298,7 +298,7 @@ TEST(Logger, Basic) { - LOG4CPLUS_INFO(logger, "I say hello"); + LOG4CPP_INFO(logger, "I say hello"); }