Mercurial > hg > orthanc
comparison Core/Logging.h @ 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 #pragma once | |
2 | |
3 #if DCMTK_BUNDLES_LOG4CPLUS == 0 | |
4 #include <log4cpp/Category.hh> | |
5 #else | |
6 #include <dcmtk/oflog/logger.h> | |
7 #endif | |
8 | |
9 namespace Orthanc | |
10 { | |
11 #if DCMTK_BUNDLES_LOG4CPLUS == 0 | |
12 typedef log4cpp::Category Logger; | |
13 #else | |
14 typedef OFLogger Logger; | |
15 #endif | |
16 | |
17 Logger& GetLoggerInstance(const char* package); | |
18 } |