trikRuntime
QsLogging::Logger Class Reference

#include <QsLog.h>

Classes

class  Helper
 The helper forwards the streaming to QDebug and builds the final log message. More...
 

Public Member Functions

 ~Logger ()
 
void addDestination (DestinationPtr destination)
 Adds a log message destination. Don't add null destinations. More...
 
void setLoggingLevel (Level newLevel)
 Logging at a level < 'newLevel' will be ignored. More...
 
Level loggingLevel () const
 The default level is INFO. More...
 

Static Public Member Functions

static Loggerinstance ()
 
static void destroyInstance ()
 
static Level levelFromLogMessage (const QString &logMessage, bool *conversionSucceeded=0)
 

Friends

class LogWriterRunnable
 

Constructor & Destructor Documentation

QsLogging::Logger::~Logger ( )

Member Function Documentation

void QsLogging::Logger::addDestination ( DestinationPtr  destination)

Adds a log message destination. Don't add null destinations.

void QsLogging::Logger::destroyInstance ( )
static
Logger & QsLogging::Logger::instance ( )
static
Level QsLogging::Logger::levelFromLogMessage ( const QString &  logMessage,
bool *  conversionSucceeded = 0 
)
static
Level QsLogging::Logger::loggingLevel ( ) const

The default level is INFO.

void QsLogging::Logger::setLoggingLevel ( Level  newLevel)

Logging at a level < 'newLevel' will be ignored.

Friends And Related Function Documentation

friend class LogWriterRunnable
friend

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