GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandles::Logger Class Reference

#include "Logger.h"

Collaboration diagram for QtHandles::Logger:

Static Public Member Functions

static void debug (const char *fmt,...)
 

Private Member Functions

 Logger (void)
 
 ~Logger (void)
 
void debugV (const char *fmt, va_list arg)
 

Static Private Member Functions

static Loggerinstance (void)
 

Private Attributes

bool m_debugEnabled
 

Static Private Attributes

static Loggers_instance = nullptr
 
static QMutex * s_mutex = nullptr
 

Detailed Description

Definition at line 33 of file Logger.h.

Constructor & Destructor Documentation

◆ Logger()

QtHandles::Logger::Logger ( void  )
private

Definition at line 41 of file Logger.cc.

References m_debugEnabled.

Referenced by instance().

◆ ~Logger()

QtHandles::Logger::~Logger ( void  )
private

Definition at line 50 of file Logger.cc.

Member Function Documentation

◆ debug()

void QtHandles::Logger::debug ( const char *  fmt,
  ... 
)
static

◆ debugV()

void QtHandles::Logger::debugV ( const char *  fmt,
va_list  arg 
)
private

Definition at line 78 of file Logger.cc.

References arg, and m_debugEnabled.

◆ instance()

Logger * QtHandles::Logger::instance ( void  )
staticprivate

Definition at line 54 of file Logger.cc.

References Logger(), s_instance, and s_mutex.

Member Data Documentation

◆ m_debugEnabled

bool QtHandles::Logger::m_debugEnabled
private

Definition at line 39 of file Logger.h.

Referenced by debugV(), and Logger().

◆ s_instance

Logger * QtHandles::Logger::s_instance = nullptr
staticprivate

Definition at line 41 of file Logger.h.

Referenced by instance().

◆ s_mutex

QMutex * QtHandles::Logger::s_mutex = nullptr
staticprivate

Definition at line 42 of file Logger.h.

Referenced by instance().


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