LLDB mainline
Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
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 >
constexpr lldb_private::Log::Channel::Channel ( llvm::ArrayRef< Log::Category categories,
Cat  default_flags 
)
inlineconstexpr

Definition at line 172 of file Log.h.

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(), and log_ptr.

Friends And Related Function Documentation

◆ Log

friend class Log
friend

Definition at line 165 of file Log.h.

Member Data Documentation

◆ categories

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

Definition at line 168 of file Log.h.

◆ default_flags

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

Definition at line 169 of file Log.h.

◆ log_ptr

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

Definition at line 164 of file Log.h.

Referenced by lldb_private::Log::Disable(), lldb_private::Log::Enable(), and GetLog().


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