1. change lib name runtime not found symbol. 2. add flame from perf can't open browser lost files Log: refactor Change-Id: I89305f5e8e0369ade07797a5cefcafaf0bb6cdba |
||
|---|---|---|
| .. | ||
| QLoggerTest | ||
| .clang-format | ||
| .gitignore | ||
| LICENSE | ||
| QLogger.cpp | ||
| QLogger.h | ||
| QLogger.pri | ||
| QLogger.pro | ||
| QLoggerLevel.h | ||
| QLoggerWriter.cpp | ||
| QLoggerWriter.h | ||
| README.md | ||
README.md
QLogger
In this repository you can find a logger class. Follow the instructions for usage:
- Create an instance: QLoggerManager *manager = QLoggerManager::getInstance();
- Add as many destinations as you want: manager->addDestination(filePathName, module, logLevel);
- Print the log in the file with: QLog_ followed by Trace/Debug/Info/Warning/Error/Fatal
You can add as much destinations as you want. You also can add several modules for each log file.