Tomographer
v5.4
Tomographer C++ Framework Documentation
|
Utilities for logging messages. More...
#include <cstdio>
#include <cstdarg>
#include <string>
#include <sstream>
#include <iostream>
#include <functional>
#include <type_traits>
#include <map>
#include <boost/algorithm/string.hpp>
#include <tomographer/tools/cxxdefs.h>
#include <tomographer/tools/fmt.h>
#include <tomographer/tools/conststr.h>
Go to the source code of this file.
Namespaces | |
Tomographer | |
Base namespace for the Tomographer project. | |
Tomographer::Logger | |
Tomographer's Logging Framework | |
Macros | |
#define | TOMO_ORIGIN Tomographer::Logger::tomo_internal::extractTomoOrigin(TOMO_FUNCTION) |
Use this as argument for a Tomographer::Logger::LocalLogger constructor . More... | |
Enumerations | |
enum | Tomographer::Logger::LogLevelCode |
Possible logging levels. More... | |
Functions | |
std::istream & | Tomographer::Logger::operator>> (std::istream &str, LogLevel &l) |
C++ input stream operator for LogLevel. | |
std::ostream & | Tomographer::Logger::operator<< (std::ostream &str, const LogLevel &l) |
C++ output stream operator for LogLevel. | |
bool | Tomographer::Logger::isAtLeastOfSeverity (int level, int baselevel) |
Helper to compare severity levels. More... | |
template<typename BaseLoggerType > | |
LocalLogger< BaseLoggerType > | Tomographer::Logger::makeLocalLogger (std::string origin_fn_name, BaseLoggerType &baselogger) |
Create a local logger. More... | |
template<typename BaseLoggerType > | |
LocalLogger< BaseLoggerType > | Tomographer::Logger::makeLocalLogger (std::string origin_prefix, std::string glue, BaseLoggerType &baselogger) |
Create a local logger. More... | |
template<typename BaseLoggerType > | |
LocalLogger< BaseLoggerType > | Tomographer::Logger::makeLocalLogger (const LocalLoggerOriginSpec &spec, BaseLoggerType &baselogger) |
Create a local logger. More... | |
Utilities for logging messages.
Definition in file loggers.h.
#define TOMO_ORIGIN Tomographer::Logger::tomo_internal::extractTomoOrigin(TOMO_FUNCTION) |
Use this as argument for a Tomographer::Logger::LocalLogger constructor .