The Log class for Simple management of log.
More...
#include <log.h>
The Log class for Simple management of log.
Log & Utils::Log::instance |
( |
TypeLog |
type = INFO | ) |
|
|
static |
Log::instance. Return the instance of logger.
- Parameters
-
type | Type of log : WARNING, INFO, ERROR |
- Returns
- Instance of logger.
void Utils::Log::write |
( |
const QString |
text | ) |
|
Log& operator<< |
( |
Log & |
logger, |
|
|
const QString & |
text |
|
) |
| |
|
friend |
operator << for log writing
- Parameters
-
logger | Instance of Logger |
text | Text to write |
- Returns
- New logger.
The documentation for this class was generated from the following files:
- /home/travis/build/FACT-Team/FactDev/src/utils/log.h
- /home/travis/build/FACT-Team/FactDev/src/utils/log.cpp