void setupLogging(LoggingConfiguration configs, bool enabled)
Configures the logging from a LoggingConfiguration.
void setMPIRank(int const rank)
void setParticipant(std::string const &participant)
LoggingConfiguration readLogConfFile(std::string const &filename)
Reads a log file, returns a logging configuration.
GlobalLoggingConfig & getGlobalLoggingConfig()
Returns the global logging configuration.
Main namespace of the precice library.
Holds the configuration for one logging backend (sink) and takes care of default values.
void setEnabled(bool enabled)
Sets weather the sink is enabled or disabled.
static const std::string default_filter
void setOption(std::string key, std::string value)
Sets on option, overwrites default values.
static const std::string default_type
static const std::string default_output
static bool isValidOption(std::string key)
Checks if an option is usable.
static const std::string default_formatter
Holds global logging data in a central place.