LLDB mainline
lldb_private::Log::Channel Class Reference

#include <Log.h>

Public Member Functions

template<typename Cat>
constexpr Channel (llvm::ArrayRef< Log::Category > categories, Cat default_flags)
LogGetLog (MaskType mask)

Public Attributes

const llvm::ArrayRef< Categorycategories
const MaskType default_flags

Private Attributes

std::atomic< Log * > log_ptr

Friends

class Log

Detailed Description

Definition at line 163 of file Log.h.

Constructor & Destructor Documentation

◆ Channel()

template<typename Cat>
lldb_private::Log::Channel::Channel ( llvm::ArrayRef< Log::Category > categories,
Cat default_flags )
inlineconstexpr

Definition at line 172 of file Log.h.

References categories, default_flags, and log_ptr.

Member Function Documentation

◆ GetLog()

Log * lldb_private::Log::Channel::GetLog ( MaskType mask)
inline

Definition at line 184 of file Log.h.

References lldb_private::Log::GetMask(), Log, and log_ptr.

Referenced by lldb_private::GetLog().

◆ Log

friend class Log
friend

Definition at line 165 of file Log.h.

References Log.

Referenced by GetLog(), and Log.

Member Data Documentation

◆ categories

const llvm::ArrayRef<Category> lldb_private::Log::Channel::categories

Definition at line 168 of file Log.h.

Referenced by Channel().

◆ default_flags

const MaskType lldb_private::Log::Channel::default_flags

Definition at line 169 of file Log.h.

Referenced by Channel().

◆ log_ptr

std::atomic<Log *> lldb_private::Log::Channel::log_ptr
private

Definition at line 164 of file Log.h.

Referenced by Channel(), and GetLog().


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