Class to write in a log file. More...
#include <logger.hpp>
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. | |
Class to write in a log file.
Definition at line 271 of file logger.hpp.
| QExtend::LogFile::LogFile | ( | QString | filename | ) |
Constructor.
Open in write mode or create the log file with the given filename.
| filename | Path of the file log. |
| QExtend::LogFile::~LogFile | ( | ) |
Destructor.
Close the log file if open and destroy the pointer.
| 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.
© 2000-2025 - www.developpez.com