https://github.com/francescmm/qlogger
Multi-threading logger for Qt applications
https://github.com/francescmm/qlogger
cpp logger qlogger qt qt5
Last synced: about 1 year ago
JSON representation
Multi-threading logger for Qt applications
- Host: GitHub
- URL: https://github.com/francescmm/qlogger
- Owner: francescmm
- License: lgpl-2.1
- Created: 2016-09-10T14:08:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T20:12:00.000Z (over 2 years ago)
- Last Synced: 2025-03-18T02:02:54.069Z (about 1 year ago)
- Topics: cpp, logger, qlogger, qt, qt5
- Language: C++
- Homepage: https://www.francescmm.com
- Size: 104 KB
- Stars: 59
- Watchers: 8
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QLogger
In this repository you can find a logger class. Follow the instructions for usage:
1. Create an instance: QLoggerManager *manager = QLoggerManager::getInstance();
2. Add as many destinations as you want: manager->addDestination(filePathName, module, logLevel);
3. 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.