preCICE v3.1.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
precice::logging::NullSink Class Referencefinal

A custom sink that does nothing. It is used to disable the default sink of boost.Log. More...

Inheritance diagram for precice::logging::NullSink:
[legend]
Collaboration diagram for precice::logging::NullSink:
[legend]

Public Member Functions

 NullSink ()
 
bool will_consume (boost::log::attribute_value_set const &) override
 
void consume (boost::log::record_view const &) override
 
bool try_consume (boost::log::record_view const &) override
 
void flush () override
 
bool is_cross_thread () const noexcept
 

Detailed Description

A custom sink that does nothing. It is used to disable the default sink of boost.Log.

Definition at line 78 of file LogConfiguration.cpp.

Constructor & Destructor Documentation

◆ NullSink()

precice::logging::NullSink::NullSink ( )
inline

Definition at line 80 of file LogConfiguration.cpp.

Member Function Documentation

◆ consume()

void precice::logging::NullSink::consume ( boost::log::record_view const & )
inlineoverride

Definition at line 88 of file LogConfiguration.cpp.

◆ flush()

void precice::logging::NullSink::flush ( )
inlineoverride

Definition at line 95 of file LogConfiguration.cpp.

◆ is_cross_thread()

bool precice::logging::NullSink::is_cross_thread ( ) const
inlinenoexcept

Definition at line 97 of file LogConfiguration.cpp.

◆ try_consume()

bool precice::logging::NullSink::try_consume ( boost::log::record_view const & )
inlineoverride

Definition at line 90 of file LogConfiguration.cpp.

◆ will_consume()

bool precice::logging::NullSink::will_consume ( boost::log::attribute_value_set const & )
inlineoverride

Definition at line 83 of file LogConfiguration.cpp.


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