preCICE v3.1.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
precice::config::LogConfiguration Class Reference

Configures the log config file to use. More...

#include <LogConfiguration.hpp>

Inheritance diagram for precice::config::LogConfiguration:
[legend]
Collaboration diagram for precice::config::LogConfiguration:
[legend]

Public Member Functions

 LogConfiguration (xml::XMLTag &parent)
 
virtual void xmlTagCallback (const xml::ConfigurationContext &context, xml::XMLTag &tag)
 Callback at begin of XML tag.
 
virtual void xmlEndTagCallback (const xml::ConfigurationContext &context, xml::XMLTag &tag)
 Callback at end of XML tag and at end of subtag.
 
- Public Member Functions inherited from precice::xml::XMLTag::Listener
Listeneroperator= (Listener &&)=delete
 
virtual ~Listener ()
 

Private Attributes

precice::logging::Logger _log {"logging::config::LogConfiguration"}
 
precice::logging::LoggingConfiguration _logconfig
 

Detailed Description

Configures the log config file to use.

Definition at line 12 of file LogConfiguration.hpp.

Constructor & Destructor Documentation

◆ LogConfiguration()

precice::config::LogConfiguration::LogConfiguration ( xml::XMLTag & parent)

Definition at line 8 of file LogConfiguration.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ xmlEndTagCallback()

void precice::config::LogConfiguration::xmlEndTagCallback ( const xml::ConfigurationContext & context,
xml::XMLTag & callingTag )
virtual

Callback at end of XML tag and at end of subtag.

At this callback, the attributes and all subtags of callingTag are parsed. This callback is first done for the listener, and then for the parent tag listener (if existing).

Implements precice::xml::XMLTag::Listener.

Definition at line 75 of file LogConfiguration.cpp.

Here is the call graph for this function:

◆ xmlTagCallback()

void precice::config::LogConfiguration::xmlTagCallback ( const xml::ConfigurationContext & context,
xml::XMLTag & callingTag )
virtual

Callback at begin of XML tag.

At this callback, the attributes of the callingTag are already parsed and available, while the subtags are not yet parsed.

Implements precice::xml::XMLTag::Listener.

Definition at line 58 of file LogConfiguration.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _log

precice::logging::Logger precice::config::LogConfiguration::_log {"logging::config::LogConfiguration"}
private

Definition at line 21 of file LogConfiguration.hpp.

◆ _logconfig

precice::logging::LoggingConfiguration precice::config::LogConfiguration::_logconfig
private

Definition at line 23 of file LogConfiguration.hpp.


The documentation for this class was generated from the following files: