Base class for managing log messages.
This class manages the console messages of the application. There are four different types of messages:
- Status messages which appear frequently (e.g. timer timeout)
- Normal messages which appear on a certain action (e.g. open file)
- Warning messages
- Error messages
Usage:
Include log.h and use
LOGMESSAGE << ...
LOGWARNING << ...
LOGERROR << ...
with streamed arguments analog to qDebug(). The message will also include the function name, the file name, and the line number. If the messages originate from a class that is derived from Log, then the messages will also contain the full class name. In addition, the name of the module can be specified. The messages can be filtered by setting the verbosity in the range from 1 (only errors) to 4 (all four types of messages).
Definition at line 83 of file log.h.