IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QExtend::LogFile Class Reference

Class to write in a log file. More...

#include <logger.hpp>

Inheritance diagram for QExtend::LogFile:
QExtend::ILog

List of all members.

Public Slots

void writeLog (LoggerType type, QString message, QString location)
 Override function to write on the log file.
void cleanLog ()
 Override function to clean the log file.

Public Member Functions

 LogFile (QString filename)
 Constructor.
 ~LogFile ()
 Destructor.

Detailed Description

Class to write in a log file.

LogFile inherit from ILog

Definition at line 271 of file logger.hpp.


Constructor & Destructor Documentation

QExtend::LogFile::LogFile ( QString  filename  ) 

Constructor.

Open in write mode or create the log file with the given filename.

Parameters:
filename Path of the file log.
QExtend::LogFile::~LogFile (  ) 

Destructor.

Close the log file if open and destroy the pointer.


Member Function Documentation

void QExtend::LogFile::cleanLog (  )  [virtual, slot]

Override function to clean the log file.

Implements QExtend::ILog.

void QExtend::LogFile::writeLog ( LoggerType  type,
QString  message,
QString  location 
) [virtual, slot]

Override function to write on the log file.

Implements QExtend::ILog.

Responsable bénévole de la rubrique Qt : Thibaut Cuvelier -