Sunday, July 20, 2014

Logging classes and libraries for Qt

V1.3
Hello!

Recently I had to do a research on logging systems for Qt-based applications and I found out that, while there is no system in Qt itself for such work (no "QLogger" class), there are a variety of works of the genre freely available on the web. Here is a list with the ones I found and some commentaries.


Logging mechanisms

Logger

Link: Gitorious repository
References: Ref 1
  • Thread safe
  • No "fixed size" log file system
  • Qt5 supported

QxtLogger

Link:
Help files: QxtLogger Class Reference
References: Ref 1
  • Thread safe
  • No "fixed size" log file system

QsLog

Link: Bitbucket link
Help files: QxtLogger Class Reference
References: Ref 1 Ref 2 Ref 3
  • Log level configuration for the entire log¹

QLogger

Link: Github repository
References: Ref 1
  • Log level configuration for each file one wants to print¹
  • LGPL license

QLogger

Link: Google repository
  • GPL license
  • Qt4-based

QLogger (QtPlayground)

Link: QtPlayground repository
  • Characteristics not yet verified.


Qtilities Log System

References: Ref 1
  • Characteristics not yet verified.

QtPlayground/QLogger

Link: Gitorious repository
  • Characteristics not yet verified.

Log4Qt

Link: Sourceforge repository
  • Quite a big library¹
  • APACHE license

Qt Logger

Link: Gitorious repository
  • Characteristics not yet verified.

Logger

Link: Download link and reference
  • Characteristics not yet verified.

mLogger

Now this is my own logging class! Unfortunately it's not yet public available, but the following list shows its features or planned features:
  • Usable for log into a file and for debug in Qt Creator's console at the same time
  • Fixed-size log file system
  • Thread safe
  • Debug with file + method + line information


Others

I also found some interesting links telling a little about logging mechanisms (not necessarely for C++). I guess they may be usefull if, despite the considerable number of logging classes or libraries for Qt shown above, one still wants to develop a logging mechanism of his own:


God bless you!
Have a nice day!


A nice FAQ about C++

Hello!

I recently found an interesting FAQ page about C++ with interesting information about some commons doubts about C++. Here is the link.


God bless you!
Have a nice day!