|
preCICE v3.3.0
|
#include "logging/LogConfiguration.hpp"#include "utils/assertion.hpp"#include <algorithm>#include <filesystem>#include <fstream>#include <iostream>#include <map>#include <string>#include <utility>#include <boost/core/null_deleter.hpp>#include <boost/log/attributes/mutable_constant.hpp>#include <boost/log/core.hpp>#include <boost/log/expressions.hpp>#include <boost/log/sinks/sink.hpp>#include <boost/log/sinks/sync_frontend.hpp>#include <boost/log/sinks/text_ostream_backend.hpp>#include <boost/log/support/date_time.hpp>#include <boost/log/trivial.hpp>#include <boost/log/utility/setup/filter_parser.hpp>#include <boost/log/utility/setup/formatter_parser.hpp>#include <boost/program_options.hpp>Go to the source code of this file.
Classes | |
| class | precice::logging::timestamp_formatter_factory |
| A custom formatter that handles the TimeStamp format string. More... | |
| class | precice::logging::colorized_severity_formatter_factory |
| A custom formatter that handles the colorized Severity formatting. More... | |
| class | precice::logging::severity_formatter_factory |
| A custom formatter that handles non-colorized Severity formatting. More... | |
| class | precice::logging::NullSink |
| A custom sink that does nothing. It is used to disable the default sink of boost.Log. More... | |
| class | precice::logging::StreamBackend |
| A simple backends that outputs the message to a stream. More... | |
Namespaces | |
| namespace | precice |
| Main namespace of the precice library. | |
| namespace | precice::logging |
| contains the logging framework. | |
Functions | |
| LoggingConfiguration | precice::logging::readLogConfFile (std::string const &filename) |
| Reads a log file, returns a logging configuration. | |
| void | precice::logging::setupLogging (LoggingConfiguration configs, bool enabled=true) |
| Configures the logging from a LoggingConfiguration. | |
| void | precice::logging::setupLogging (std::string const &logConfigFile="log.conf") |
| Configures the logging from a log file. | |
| void | precice::logging::setMPIRank (int const rank) |
| void | precice::logging::setParticipant (std::string const &participant) |
| GlobalLoggingConfig & | precice::logging::getGlobalLoggingConfig () |
| Returns the global logging configuration. | |
| void | precice::logging::lockConf () |