Thread-safe logger for Qt applications
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Cleaning code Sep 12, 2018
LICENSE Initial commit Sep 10, 2016
QLogger.cpp Fixing problem with absolute path modification Sep 23, 2018
QLogger.h Modifying C++ version Sep 23, 2018 Fixing readme Mar 5, 2017


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.