preCICE v3.1.2
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
LogConfiguration.hpp File Reference
#include <string>
#include <vector>
Include dependency graph for LogConfiguration.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  precice::logging::BackendConfiguration
 Holds the configuration for one logging backend (sink) and takes care of default values. More...
 
struct  precice::logging::GlobalLoggingConfig
 Holds global logging data in a central place. More...
 

Namespaces

namespace  precice
 Main namespace of the precice library.
 
namespace  precice::logging
 contains the logging framework.
 

Typedefs

using precice::logging::LoggingConfiguration = std::vector<BackendConfiguration>
 Holds the configuration of the logging system.
 

Functions

LoggingConfiguration precice::logging::readLogConfFile (std::string const &filename)
 Reads a log file, returns a logging configuration.
 
void precice::logging::setupLogging (std::string const &logConfigFile="log.conf")
 Configures the logging from a log file.
 
void precice::logging::setupLogging (LoggingConfiguration configs, bool enabled=true)
 Configures the logging from a LoggingConfiguration.
 
void precice::logging::setMPIRank (int const rank)
 
void precice::logging::setParticipant (std::string const &participant)
 
void precice::logging::lockConf ()
 
GlobalLoggingConfigprecice::logging::getGlobalLoggingConfig ()
 Returns the global logging configuration.