laugha / QLogger

Thread-safe logger for Qt applications

Home Page:https://www.francescmm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Thread-safe logger for Qt applications

https://www.francescmm.com

License:GNU Lesser General Public License v2.1


Languages

Language:C++ 99.0%Language:QMake 1.0%