Mercurial > hg > orthanc
comparison Core/Logging.cpp @ 101:428784e59dcd
trying to use log4cplus
author | jodogne |
---|---|
date | Wed, 03 Oct 2012 11:44:46 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
100:27dc762e3dc8 | 101:428784e59dcd |
---|---|
1 #include "Logging.h" | |
2 | |
3 namespace Orthanc | |
4 { | |
5 Logger& GetLoggerInstance(const char* package) | |
6 { | |
7 #if DCMTK_BUNDLES_LOG4CPLUS == 0 | |
8 return Logger::getInstance(package); | |
9 #else | |
10 return OFLog::getLogger(package); | |
11 #endif | |
12 } | |
13 } |