defuze.me  Client
Static Public Member Functions | Friends
Logger Class Reference

The tool to write logs. More...

#include <logger.hpp>

Inheritance diagram for Logger:
Inheritance graph
[legend]
Collaboration diagram for Logger:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static void log (const QString &message)
 Write message into log file.

Friends

class Singleton< Logger >

Detailed Description

The tool to write logs.

The singleton instance is used to write log in a log file. The log file is defined by:

You have to use the static method log() as follow:

 Logger::log("You message."); // NewLine character will be added.

Definition at line 37 of file logger.hpp.


The documentation for this class was generated from the following files: