LLDB mainline
lldb_private::CallbackLogHandler Class Reference

#include <Log.h>

Inheritance diagram for lldb_private::CallbackLogHandler:
[legend]

Public Member Functions

 CallbackLogHandler (lldb::LogOutputCallback callback, void *baton)
void Emit (llvm::StringRef message) override
bool isA (const void *ClassID) const override
Public Member Functions inherited from lldb_private::LogHandler
virtual ~LogHandler ()=default

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

lldb::LogOutputCallback m_callback
void * m_baton

Static Private Attributes

static char ID

Detailed Description

Definition at line 77 of file Log.h.

Constructor & Destructor Documentation

◆ CallbackLogHandler()

CallbackLogHandler::CallbackLogHandler ( lldb::LogOutputCallback callback,
void * baton )

Definition at line 415 of file Log.cpp.

References m_baton, and m_callback.

Member Function Documentation

◆ classof()

bool lldb_private::CallbackLogHandler::classof ( const LogHandler * obj)
inlinestatic

Definition at line 84 of file Log.h.

References ID, and lldb_private::LogHandler::isA().

◆ Emit()

void CallbackLogHandler::Emit ( llvm::StringRef message)
overridevirtual

Implements lldb_private::LogHandler.

Definition at line 419 of file Log.cpp.

References m_baton, and m_callback.

◆ isA()

bool lldb_private::CallbackLogHandler::isA ( const void * ClassID) const
inlineoverridevirtual

Reimplemented from lldb_private::LogHandler.

Definition at line 83 of file Log.h.

References ID.

Member Data Documentation

◆ ID

char CallbackLogHandler::ID
staticprivate

Definition at line 89 of file Log.h.

Referenced by classof(), and isA().

◆ m_baton

void* lldb_private::CallbackLogHandler::m_baton
private

Definition at line 88 of file Log.h.

Referenced by CallbackLogHandler(), and Emit().

◆ m_callback

lldb::LogOutputCallback lldb_private::CallbackLogHandler::m_callback
private

Definition at line 87 of file Log.h.

Referenced by CallbackLogHandler(), and Emit().


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