|
| TextEditLogger (QWidget *parent=nullptr) |
|
| TextEditLogger (const TextEditLogger &)=delete |
|
TextEditLogger & | operator= (const TextEditLogger &)=delete |
|
void | enableDebugLogging (bool enable) |
|
void | setPercentage (uint newPerc) override |
|
void | enableIndentation () override final |
|
void | disableIndentation () override final |
|
void | enablePrintPercentage () override final |
|
void | disablePrintPercentage () override final |
|
void | setPrintLevel (LogLevel level) override final |
| Sets the maximum print level of the logger.
|
|
void | enablePrintMessageDuringProgress () override final |
|
void | disablePrintMessageDuringProgress () override final |
|
void | enablePrintTimer () override final |
|
void | disablePrintTimer () override final |
|
void | reset () override final |
|
void | setMaxLineWidth (uint w) override final |
|
void | startTimer () override final |
|
void | stopTimer () override final |
|
double | time () const override final |
| Returns the time passed since the last call to startTimer member function, or the time passed between the call to startTimer and the call to stopTimer member functions. The time is expressed in seconds.
|
|
void | startNewTask (double fromPerc, double toPerc, const std::string &action) override final |
|
void | endTask (const std::string &action) override final |
|
double | percentage () const override final |
|
void | log (const std::string &msg) const override final |
| Prints a message to the logger, with level LogLevel::PROGRESS and without modifying the current percentage.
|
|
void | log (const std::string &msg, LogLevel lvl) const override final |
| Prints a message to the logger, with the given level and without modifying the current percentage.
|
|
void | log (uint perc, const std::string &msg) override final |
| Prints a message to the logger, with the level LogLevel::PROGRESS and with the given percentage.
|
|
void | log (uint perc, const std::string &msg, LogLevel lvl) override final |
| Prints a message to the logger, with the given level and with the given percentage.
|
|
void | startProgress (const std::string &msg, uint progressSize, uint percPrintProgress=10, uint startPerc=0, uint endPerc=100) override final |
| Allows to easily manage progresses with the logger, along with the progress and endProgress member functions.
|
|
void | endProgress () override final |
| Allows to easily manage progresses with the logger, along with the startProgress and progress member functions.
|
|
void | progress (uint n) override final |
| Allows to easily manage progresses with the logger, along with the startProgress and endProgress member functions.
|
|