Skip to content

saeidEmadi/simple_Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Qt Simple logger

This is a ready-made code to facilitate logging Qt Applications outputs (with QDebug)

Installation

  • copy Logger folder in your code path

  • Add the Logger.pri file to the *.pro file in your project

include($$PWD/Logger/Logger.pri)
  • Add Logger Header in main.cpp (Application Entery Point)
#include "Logger.h"

Usage

  • Add the configuration codes in the main file e.g main.cpp (Application Entery Point)
Logger::attach();
Logger::logging = true;

Note

You can see where the log is stored by printing Logger::logFileName


Enjoy it :)

Releases

No releases published

Packages

No packages published