Module logging

Module logging 

Expand description

LIEF’s logging API

This module contains function to tweak or use LIEF’s logging mechanisms

use lief::logging;

logging::set_level(logging::Level::DEBUG);
logging::log(logging::Level::DEBUG, "Hi!");

Enums§

Level
The different levels of log

Functions§

disable
Prevent any log message from being printed
enable
Enable the logger
log
Log a message with the logger
reset
Reset the current logger
set_level
Change the logging level
set_path
Switch to a file-based logger (instead of stderr-based)