Carousel
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Pages
Public Member Functions | List of all members
NullLogger Class Reference

The NullLogger class is a stub for the carousel logging engine. More...

#include <NullLogger.h>

Inherits LoggerFacade.

Public Member Functions

 NullLogger ()
 
void d (const QString &message)
 
void e (const QString &message)
 
void f (const QString &message)
 
LoggerFacadegetLogger (const QString &name)
 
void i (const QString &message)
 
void t (const QString &message)
 
void w (const QString &message)
 
- Public Member Functions inherited from LoggerFacade
 LoggerFacade (const QString &name)
 
const QStringname () const
 

Additional Inherited Members

- Static Public Member Functions inherited from LoggerFacade
static LoggerFacade createLogger (const QString &name)
 
static void installLoggerEngine (LoggerFacade *loggerEngine)
 
static LoggerFacadeloggerEngine ()
 
- Protected Member Functions inherited from LoggerFacade
 LoggerFacade (LoggerFacade *engine)
 

Detailed Description

The NullLogger class is a stub for the carousel logging engine.

You might return this object in the overridden function BootloaderBase::createLogger() if you don't need any logging and/or you lack resources.

Constructor & Destructor Documentation

NullLogger::NullLogger ( )

Initializes a new instance of the LoggerFacade class using "NullLogger" logger name.

Member Function Documentation

LoggerFacade* NullLogger::getLogger ( const QString name)
virtual

Creates and returns a new instance of the TextLogger with specified name.

Reimplemented from LoggerFacade.

void NullLogger::d ( const QString message)
virtual

Sends a debug log message to the output stream. Debug logs are stripped at runtime in release configuration.

Reimplemented from LoggerFacade.

void NullLogger::e ( const QString message)
virtual

Sends an error log message to the output stream.

Reimplemented from LoggerFacade.

void NullLogger::f ( const QString message)
virtual

Sends a fatal log message to the output stream.

Reimplemented from LoggerFacade.

void NullLogger::i ( const QString message)
virtual

Sends an info log message to the output stream.

Reimplemented from LoggerFacade.

void NullLogger::t ( const QString message)
virtual

Sends a trace log message to the output stream.

Reimplemented from LoggerFacade.

void NullLogger::w ( const QString message)
virtual

Sends a warning log message to the output stream.

Reimplemented from LoggerFacade.