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

Log handler that emits log messages to the operating system log. More...

#include <Host.h>

Inheritance diagram for lldb_private::SystemLogHandler:
Inheritance graph

Public Member Functions

 SystemLogHandler ()
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)

Static Private Attributes

static char ID

Detailed Description

Log handler that emits log messages to the operating system log.

Definition at line 261 of file Host.h.

Constructor & Destructor Documentation

◆ SystemLogHandler()

SystemLogHandler::SystemLogHandler ( )

Definition at line 651 of file common/Host.cpp.

Member Function Documentation

◆ classof()

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

Definition at line 267 of file Host.h.

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

◆ Emit()

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

Implements lldb_private::LogHandler.

Definition at line 653 of file common/Host.cpp.

References lldb::eSeverityInfo, and lldb_private::Host::SystemLog().

◆ isA()

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

Reimplemented from lldb_private::LogHandler.

Definition at line 266 of file Host.h.

References ID.

Member Data Documentation

◆ ID

char SystemLogHandler::ID

Definition at line 270 of file Host.h.

Referenced by classof(), and isA().

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