#include <StdoutErrConsumer.hpp>
◆ ~StdoutErrConsumer()
◆ get_stream()
virtual FASTDDS_EXPORTED_API std::ostream & get_stream |
( |
const Log::Entry & | entry | ) |
|
|
overrideprotectedvirtual |
◆ stderr_threshold() [1/2]
virtual FASTDDS_EXPORTED_API Log::Kind stderr_threshold |
( |
| ) |
const |
|
virtual |
Retrieve the stderr_threshold.
- Returns
- The Log::Kind to which stderr_threshold is set.
◆ stderr_threshold() [2/2]
virtual FASTDDS_EXPORTED_API void stderr_threshold |
( |
const Log::Kind & | kind | ) |
|
|
virtual |
Set the stderr_threshold to a Log::Kind.
This threshold decides which log messages are output on STDOUT, and which are output to STDERR. Log messages with a Log::Kind equal to or more severe than the stderr_threshold are output to STDERR using std::cerr. Log messages with a Log::Kind less severe than the stderr_threshold are output to STDOUT using std::cout.
- Parameters
-
kind | The Log::Kind to which stderr_threshold is set. |
◆ STDERR_THRESHOLD_DEFAULT
Default value of stderr_threshold.
The documentation for this class was generated from the following file: