Mercurial > hg > orthanc
view Core/Logging.h @ 101:428784e59dcd
trying to use log4cplus
author | jodogne |
---|---|
date | Wed, 03 Oct 2012 11:44:46 +0200 |
parents | |
children |
line wrap: on
line source
#pragma once #if DCMTK_BUNDLES_LOG4CPLUS == 0 #include <log4cpp/Category.hh> #else #include <dcmtk/oflog/logger.h> #endif namespace Orthanc { #if DCMTK_BUNDLES_LOG4CPLUS == 0 typedef log4cpp::Category Logger; #else typedef OFLogger Logger; #endif Logger& GetLoggerInstance(const char* package); }