![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Write log to file. More...
#include <LogOutputters.h>


Public Member Functions | |
| FileLogOutputter (const QString &logFile) | |
| ~FileLogOutputter () override=default | |
| void | open (const QString &title) override |
| Open the outputter. | |
| void | close () override |
| Close the outputter. | |
| bool | write (LogLevel level, const QString &message) override |
| Write a message with level. | |
| void | setLogFilename (const QString &title) |
| Public Member Functions inherited from ILogOutputter | |
| virtual | ~ILogOutputter ()=default |
Write log to file.
This outputter writes output to the file. The level for each message is ignored.
|
explicit |
|
overridedefault |
|
overridevirtual |
Close the outputter.
Close the outputter. Calling this method on an already closed outputter must have no effect.
Implements ILogOutputter.
|
overridevirtual |
Open the outputter.
Opens the outputter for writing. Calling this method on an already open outputter must have no effect.
Implements ILogOutputter.
| void FileLogOutputter::setLogFilename | ( | const QString & | title | ) |
|
overridevirtual |
Write a message with level.
Writes message, which has the given level, to a log. If this method returns true then Log will stop passing the message to all outputters in the outputter chain, otherwise it continues. Most implementations should return true.
Implements ILogOutputter.