eVaf
eVaf::Common::Internal::LoggerWorker Class Reference

Worker class for the logger. More...

#include <Common/logger.h>

Public Slots

void writeToLogFile (LoggerSource const &src, QString const &msg)
 Writes a message to the log file. More...
 

Detailed Description

Worker class for the logger.

This class separates potentially expensive I/O from the iLogger interface making sure that writing to the log file does not block the main thread.

Definition at line 112 of file logger.h.

Member Function Documentation

void eVaf::Common::Internal::LoggerWorker::writeToLogFile ( LoggerSource const &  src,
QString const &  msg 
)
slot

Writes a message to the log file.

Parameters
srcThe logger source
msgThe message

This function writes the message to the log file. It also controls the size and number of log files.


The documentation for this class was generated from the following file: