preCICE v3.2.0
Loading...
Searching...
No Matches
LogConfiguration.hpp
Go to the documentation of this file.
1#pragma once
2
4#include "logging/Logger.hpp"
5#include "xml/XMLTag.hpp"
6
7namespace precice::logging {
8
11public:
13
14 void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag) override;
15
16 void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag) override;
17
18private:
19 precice::logging::Logger _log{"logging::config::LogConfiguration"};
20
22};
23
24} // namespace precice::logging
precice::logging::LoggingConfiguration _logconfig
void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag) override
Callback at end of XML tag and at end of subtag.
void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag) override
Callback at begin of XML tag.
This class provides a lightweight logger.
Definition Logger.hpp:17
Represents an XML tag to be configured automatically.
Definition XMLTag.hpp:28
contains the logging framework.
std::vector< BackendConfiguration > LoggingConfiguration
Holds the configuration of the logging system.
Tightly coupled to the parameters of Participant()
Definition XMLTag.hpp:21
Callback interface for configuration classes using XMLTag.
Definition XMLTag.hpp:46