LLDB mainline
Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes | List of all members
lldb_private::CallbackLogHandler Class Reference

#include <Log.h>

Inheritance diagram for lldb_private::CallbackLogHandler:
Inheritance graph

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
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

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 402 of file Log.cpp.

Member Function Documentation

◆ classof()

static bool lldb_private::CallbackLogHandler::classof ( const LogHandler obj)

Definition at line 84 of file Log.h.

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

◆ Emit()

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

Implements lldb_private::LogHandler.

Definition at line 406 of file Log.cpp.

References m_baton, and m_callback.

◆ isA()

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

Reimplemented from lldb_private::LogHandler.

Definition at line 83 of file Log.h.

References ID.

Member Data Documentation

◆ ID

char CallbackLogHandler::ID

Definition at line 89 of file Log.h.

Referenced by classof(), and isA().

◆ m_baton

void* lldb_private::CallbackLogHandler::m_baton

Definition at line 88 of file Log.h.

Referenced by Emit().

◆ m_callback

lldb::LogOutputCallback lldb_private::CallbackLogHandler::m_callback

Definition at line 87 of file Log.h.

Referenced by Emit().

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