Module lief::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

  • The different levels of log

Functions

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