preCICE v3.1.2
|
A simple backends that outputs the message to a stream. More...
Public Member Functions | |
StreamBackend (boost::shared_ptr< std::ostream > ostream) | |
void | consume (boost::log::record_view const &rec, string_type const &formatted_record) |
Private Attributes | |
boost::shared_ptr< std::ostream > | _ostream |
A simple backends that outputs the message to a stream.
Rationale: The original text_ostream_backend from boost suffered from the great amount of code that lies between the printing of the message and the endline. This leads to high probability that a process switch occurs and the message is severed from the endline.
Definition at line 109 of file LogConfiguration.cpp.
|
inlineexplicit |
Definition at line 114 of file LogConfiguration.cpp.
|
inline |
|
private |
Definition at line 111 of file LogConfiguration.cpp.