Mercurial > hg > orthanc
diff Core/Logging.cpp @ 101:428784e59dcd
trying to use log4cplus
author | jodogne |
---|---|
date | Wed, 03 Oct 2012 11:44:46 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Core/Logging.cpp Wed Oct 03 11:44:46 2012 +0200 @@ -0,0 +1,13 @@ +#include "Logging.h" + +namespace Orthanc +{ + Logger& GetLoggerInstance(const char* package) + { +#if DCMTK_BUNDLES_LOG4CPLUS == 0 + return Logger::getInstance(package); +#else + return OFLog::getLogger(package); +#endif + } +}