![]() |
Louvre
v2.9.0-1
C++ library for Wayland compositors
|
Debugging information. More...
Static Public Member Functions | |
static void | init () |
static void | log (const char *format,...) |
Prints general messages independent of the value of LOUVRE_DEBUG. More... | |
static void | fatal (const char *format,...) |
Reports an unrecoverable error. LOUVRE_DEBUG >= 1. More... | |
static void | error (const char *format,...) |
Reports a nonfatal error. LOUVRE_DEBUG >= 2. More... | |
static void | warning (const char *format,...) |
Messages that report a risk for the compositor. LOUVRE_DEBUG >= 3. More... | |
static void | debug (const char *format,...) |
Debugging messages. LOUVRE_DEBUG >= 4. More... | |
Debugging information.
The LLog class provides an output stream for debugging information.
The level of verbosity can be assigned setting the LOUVRE_DEBUG environment variable to a non negative integer value.
All messages are directed to the stdout stream, except for those generated by error() and fatal(), which are written to the stderr stream.
Disables messages except those generated by log().
Prints messages generated by log() and fatal().
Prints messages generated by log(), fatal() and error().
Prints messages generated by log(), fatal(), error() and warning().
Prints messages generated by log(), fatal(), error(), warning() and debug().
|
static |
Call this method to print messages before creating an LCompositor instance.
|
static |
Prints general messages independent of the value of LOUVRE_DEBUG.
|
static |
Reports an unrecoverable error. LOUVRE_DEBUG >= 1.
|
static |
Reports a nonfatal error. LOUVRE_DEBUG >= 2.
|
static |
Messages that report a risk for the compositor. LOUVRE_DEBUG >= 3.
|
static |
Debugging messages. LOUVRE_DEBUG >= 4.