LLDB mainline
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:
[legend]

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

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 282 of file Host.h.

Constructor & Destructor Documentation

◆ SystemLogHandler()

SystemLogHandler::SystemLogHandler ( )

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

Member Function Documentation

◆ classof()

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

Definition at line 288 of file Host.h.

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

◆ Emit()

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

Implements lldb_private::LogHandler.

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

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

◆ isA()

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

Reimplemented from lldb_private::LogHandler.

Definition at line 287 of file Host.h.

References ID.

Member Data Documentation

◆ ID

char SystemLogHandler::ID
staticprivate

Definition at line 291 of file Host.h.

Referenced by classof(), and isA().


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