preCICE v3.1.1
Loading...
Searching...
No Matches
Public Types | Protected Member Functions | List of all members
precice::logging::precice_feature< BaseT > Class Template Reference

A feature that adds LogLocation info to log attributes. More...

Inheritance diagram for precice::logging::precice_feature< BaseT >:
[legend]
Collaboration diagram for precice::logging::precice_feature< BaseT >:
[legend]

Public Types

using char_type = typename BaseT::char_type
 
using threading_model = typename BaseT::threading_model
 
using open_record_lock
 

Protected Member Functions

template<typename ArgsT >
boost::log::record open_record_unlocked (ArgsT const &args)
 Adds log attributes to the current logger based on the LogLocation info.
 

Detailed Description

template<class BaseT>
class precice::logging::precice_feature< BaseT >

A feature that adds LogLocation info to log attributes.

Definition at line 18 of file Logger.cpp.

Member Typedef Documentation

◆ char_type

template<class BaseT >
using precice::logging::precice_feature< BaseT >::char_type = typename BaseT::char_type

Definition at line 20 of file Logger.cpp.

◆ open_record_lock

template<class BaseT >
using precice::logging::precice_feature< BaseT >::open_record_lock
Initial value:
typename boost::log::strictest_lock<
boost::lock_guard<threading_model>,
typename BaseT::open_record_lock,
typename BaseT::add_attribute_lock,
typename BaseT::remove_attribute_lock>::type

Definition at line 23 of file Logger.cpp.

◆ threading_model

template<class BaseT >
using precice::logging::precice_feature< BaseT >::threading_model = typename BaseT::threading_model

Definition at line 21 of file Logger.cpp.

Member Function Documentation

◆ open_record_unlocked()

template<typename BaseT >
template<typename ArgsT >
boost::log::record precice::logging::precice_feature< BaseT >::open_record_unlocked ( ArgsT const & args)
protected

Adds log attributes to the current logger based on the LogLocation info.

Definition at line 45 of file Logger.cpp.

Here is the call graph for this function:

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