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

#include "Logger.h"

Collaboration diagram for 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 35 of file Logger.h.

Constructor & Destructor Documentation

◆ Logger()

Logger::Logger ( void  )
private

Definition at line 43 of file Logger.cc.

References m_debugEnabled.

Referenced by instance().

◆ ~Logger()

Logger::~Logger ( void  )
private

Definition at line 52 of file Logger.cc.

Member Function Documentation

◆ debug()

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

◆ debugV()

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

Definition at line 80 of file Logger.cc.

References m_debugEnabled.

◆ instance()

Logger * Logger::instance ( void  )
staticprivate

Definition at line 56 of file Logger.cc.

References Logger(), s_instance, and s_mutex.

Member Data Documentation

◆ m_debugEnabled

bool Logger::m_debugEnabled
private

Definition at line 41 of file Logger.h.

Referenced by Logger(), and debugV().

◆ s_instance

Logger * Logger::s_instance = nullptr
staticprivate

Definition at line 43 of file Logger.h.

Referenced by instance().

◆ s_mutex

QMutex * Logger::s_mutex = nullptr
staticprivate

Definition at line 44 of file Logger.h.

Referenced by instance().


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