carl
24.04
Computer ARithmetic Library
|
A small wrapper that configures logging for carl. More...
Go to the source code of this file.
Namespaces | |
carl | |
carl is the main namespace for the library. | |
carl::logging | |
Contains a custom logging facility. | |
Macros | |
#define | CARL_LOG_FATAL(channel, msg) std::cerr << (channel) << ": " << msg << std::endl; |
#define | CARL_LOG_ERROR(channel, msg) std::cerr << (channel) << ": " << msg << std::endl; |
#define | CARL_LOG_WARN(channel, msg) |
#define | CARL_LOG_INFO(channel, msg) |
#define | CARL_LOG_DEBUG(channel, msg) |
#define | CARL_LOG_TRACE(channel, msg) |
#define | CARL_LOG_FUNC(channel, args) |
#define | CARL_LOG_ASSERT(channel, condition, msg) assert(condition) |
#define | CARL_LOG_NOTIMPLEMENTED() |
#define | CARL_LOG_INEFFICIENT() |
Functions | |
void | carl::logging::setInitialLogLevel () |
void | carl::logging::configureLogging () |
A small wrapper that configures logging for carl.
If LOGGING is not set, all logging is disabled.
Note that this header should not be included if you want to use the carl logging facilities yourself. To do that, include logging.h and create logging macros like below for your own application.
If you want to access the internals of the logging, for example to customize the sinks or the filter, include logging-internals.h
Definition in file carl-logging.h.
#define CARL_LOG_ASSERT | ( | channel, | |
condition, | |||
msg | |||
) | assert(condition) |
Definition at line 47 of file carl-logging.h.
#define CARL_LOG_DEBUG | ( | channel, | |
msg | |||
) |
Definition at line 43 of file carl-logging.h.
#define CARL_LOG_ERROR | ( | channel, | |
msg | |||
) | std::cerr << (channel) << ": " << msg << std::endl; |
Definition at line 40 of file carl-logging.h.
#define CARL_LOG_FATAL | ( | channel, | |
msg | |||
) | std::cerr << (channel) << ": " << msg << std::endl; |
Definition at line 39 of file carl-logging.h.
#define CARL_LOG_FUNC | ( | channel, | |
args | |||
) |
Definition at line 46 of file carl-logging.h.
#define CARL_LOG_INEFFICIENT | ( | ) |
Definition at line 49 of file carl-logging.h.
#define CARL_LOG_INFO | ( | channel, | |
msg | |||
) |
Definition at line 42 of file carl-logging.h.
#define CARL_LOG_NOTIMPLEMENTED | ( | ) |
Definition at line 48 of file carl-logging.h.
#define CARL_LOG_TRACE | ( | channel, | |
msg | |||
) |
Definition at line 44 of file carl-logging.h.
#define CARL_LOG_WARN | ( | channel, | |
msg | |||
) |
Definition at line 41 of file carl-logging.h.