LLDB mainline
|
A T-style log handler that multiplexes messages to two log handlers. More...
#include <Log.h>
Public Member Functions | |
TeeLogHandler (std::shared_ptr< LogHandler > first_log_handler, std::shared_ptr< LogHandler > second_log_handler) | |
void | Emit (llvm::StringRef message) override |
bool | isA (const void *ClassID) const override |
Public Member Functions inherited from lldb_private::LogHandler | |
virtual | ~LogHandler ()=default |
virtual void | Emit (llvm::StringRef message)=0 |
virtual bool | isA (const void *ClassID) const |
Static Public Member Functions | |
static bool | classof (const LogHandler *obj) |
Static Public Member Functions inherited from lldb_private::LogHandler | |
static bool | classof (const LogHandler *obj) |
Private Attributes | |
std::shared_ptr< LogHandler > | m_first_log_handler |
std::shared_ptr< LogHandler > | m_second_log_handler |
Static Private Attributes | |
static char | ID |
A T-style log handler that multiplexes messages to two log handlers.
TeeLogHandler::TeeLogHandler | ( | std::shared_ptr< LogHandler > | first_log_handler, |
std::shared_ptr< LogHandler > | second_log_handler | ||
) |
Definition at line 443 of file Log.cpp.
References m_first_log_handler, and m_second_log_handler.
|
inlinestatic |
Definition at line 124 of file Log.h.
References ID, and lldb_private::LogHandler::isA().
|
overridevirtual |
Implements lldb_private::LogHandler.
Definition at line 451 of file Log.cpp.
References m_first_log_handler, and m_second_log_handler.
|
inlineoverridevirtual |
|
staticprivate |
|
private |
Definition at line 127 of file Log.h.
Referenced by Emit(), and TeeLogHandler().
|
private |
Definition at line 128 of file Log.h.
Referenced by Emit(), and TeeLogHandler().