Records the log messages (and their severity) emitted while it lives. One at a time.
More...
#include <LogCapture.hpp>
|
| size_t | count (const std::vector< std::string > &parts, int severity=RCUTILS_LOG_SEVERITY_WARN) const |
| | Number of messages containing every one of parts (warnings by default).
|
| std::vector< std::string > | find (const std::vector< std::string > &parts, int severity=RCUTILS_LOG_SEVERITY_WARN) const |
| | Messages containing every one of parts, with severity severity (-1: any).
|
| | LogCapture () |
| | LogCapture (const LogCapture &)=delete |
| LogCapture & | operator= (const LogCapture &)=delete |
| | ~LogCapture () |
Records the log messages (and their severity) emitted while it lives. One at a time.
◆ LogCapture() [1/2]
◆ LogCapture() [2/2]
◆ ~LogCapture()
◆ count()
| size_t count |
( |
const std::vector< std::string > & | parts, |
|
|
int | severity = RCUTILS_LOG_SEVERITY_WARN ) const |
Number of messages containing every one of parts (warnings by default).
◆ find()
| std::vector< std::string > find |
( |
const std::vector< std::string > & | parts, |
|
|
int | severity = RCUTILS_LOG_SEVERITY_WARN ) const |
Messages containing every one of parts, with severity severity (-1: any).
◆ operator=()
The documentation for this class was generated from the following file: