Documentation

class LogWriter

A class that handles log messages, part of the global application context.

class LogWriter;

Description

An instance of this class is available as app.log. You can use methods on that instance to write messages to the application log.

Different methods are available for different severity levels, ranging from verbose (level 0) to fatal (level 5).

By default, log messages are written to the console. You can add custom log sink handlers to handle log messages in other ways, such as sending them to a server or writing them to a file.

Type members

Instance members