preCICE v3.1.1
Loading...
Searching...
No Matches
LogConfiguration.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
5#include "logging/Logger.hpp"
6#include "xml/XMLTag.hpp"
7
8namespace precice {
9namespace config {
10
13public:
15
16 virtual void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag);
17
18 virtual void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag);
19
20private:
21 precice::logging::Logger _log{"logging::config::LogConfiguration"};
22
24};
25
26} // namespace config
27} // namespace precice
Configures the log config file to use.
precice::logging::LoggingConfiguration _logconfig
virtual void xmlEndTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag)
Callback at end of XML tag and at end of subtag.
virtual void xmlTagCallback(const xml::ConfigurationContext &context, xml::XMLTag &tag)
Callback at begin of XML tag.
This class provides a lightweight logger.
Definition Logger.hpp:16
Represents an XML tag to be configured automatically.
Definition XMLTag.hpp:31
Main namespace of the precice library.
Tightly coupled to the parameters of Participant()
Definition XMLTag.hpp:24
Callback interface for configuration classes using XMLTag.
Definition XMLTag.hpp:43