2. log — Logging facilities

Qt BRisa provides logging functions with a colored logging feature.

By using the log function, it’s possible to create debug, warning, critical or fatal messages. The use is very simple and will be exemplified next

2.1. Global Logger

This module provides a global (or root) logger. It’s simple to use, as you can see the the following example

#include <BrisaLog>

brisaLogInitialize()

qDebug() << "My debug message";
qWarning() << "My warning message";
qCritical() << "My critical message";
qFatal() << "My fatal message";

Table Of Contents

Previous topic

1. config — Configuration facilities

Next topic

3. network — Network facilities

This Page