[][src]Module wlroots::utils::log

Hooks into the wlroots logging functionality. Internally many events are logged and are reported on standard error. The verbosity of the logs is determined by the verbosity level when initializing the logs.

To log using this system please utilize the wlr_log! macro.

Re-exports

pub use self::wlr_log_importance::WLR_SILENT;
pub use self::wlr_log_importance::WLR_ERROR;
pub use self::wlr_log_importance::WLR_INFO;
pub use self::wlr_log_importance::WLR_DEBUG;

Structs

Logger

Functions

init_logging

Initialize wlroots logging at a certain level of verbosity with an optional callback that will be called for every log.

Type Definitions

LogCallback

The signature for the callback function you can hook into the logging functionality of wlroots.

LogVerbosity

How verbose you want the logging. Lower levels prints more.