Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
logging.h
Go to the documentation of this file.
1
#ifndef STORM_UTILITY_LOGGING_H_
2
#define STORM_UTILITY_LOGGING_H_
3
4
// Include config to know whether CARL is available or not.
5
#include "storm-config.h"
6
#ifdef STORM_HAVE_CARL
7
// Load streaming operator from CARL
8
#include <carl/io/streamingOperators.h>
9
namespace
l3pp {
10
using
carl::operator<<;
11
}
12
#endif
13
14
#include <l3pp.h>
15
16
#if !defined(STORM_LOG_DISABLE_DEBUG) && !defined(STORM_LOG_DISABLE_TRACE)
17
#define STORM_LOG_TRACE(message) L3PP_LOG_TRACE(l3pp::Logger::getRootLogger(), message)
18
#else
19
#define STORM_LOG_TRACE(message) (void)(0)
20
#endif
21
22
#if !defined(STORM_LOG_DISABLE_DEBUG)
23
#define STORM_LOG_DEBUG(message) L3PP_LOG_DEBUG(l3pp::Logger::getRootLogger(), message)
24
#else
25
#define STORM_LOG_DEBUG(message) (void)(0)
26
#endif
27
28
// Define STORM_LOG_WARN, STORM_LOG_ERROR and STORM_LOG_INFO to log the given message with the corresponding log levels.
29
#define STORM_LOG_INFO(message) L3PP_LOG_INFO(l3pp::Logger::getRootLogger(), message)
30
#define STORM_LOG_WARN(message) L3PP_LOG_WARN(l3pp::Logger::getRootLogger(), message)
31
#define STORM_LOG_ERROR(message) L3PP_LOG_ERROR(l3pp::Logger::getRootLogger(), message)
32
33
#endif
/* STORM_UTILITY_LOGGING_H_ */
src
storm
utility
logging.h
Generated by
1.9.8