Odil
A C++11 library for the DICOM standard
logging.h
Go to the documentation of this file.
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _5382f5e0_e993_4966_9447_542844edb635
10 #define _5382f5e0_e993_4966_9447_542844edb635
11 
12 #include <boost/log/sources/severity_logger.hpp>
13 #include <boost/log/trivial.hpp>
14 
15 #include "odil/odil.h"
16 
17 #define ODIL_LOG(level) \
18  BOOST_LOG_SEV(odil::logging::logger, boost::log::trivial::level)
19 
20 namespace odil
21 {
22 namespace logging
23 {
24 
25 extern ODIL_API boost::log::sources::severity_logger<int> logger;
26 
27 }
28 
29 }
30 
31 #endif // _5382f5e0_e993_4966_9447_542844edb635
odil
Definition: Association.h:25
ODIL_API
#define ODIL_API
Definition: odil.h:28
odil::logging::logger
boost::log::sources::severity_logger< int > logger
odil.h