LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
logging.hpp File Reference
#include "LIEF/visibility.h"
#include <string>
#include <vector>
Include dependency graph for logging.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  spdlog
 
namespace  LIEF
 LIEF namespace.
 
namespace  LIEF::logging
 

Enumerations

enum class  LIEF::logging::LEVEL {
  LIEF::logging::TRACE = 0 , LIEF::logging::DEBUG , LIEF::logging::INFO , LIEF::logging::WARN ,
  LIEF::logging::ERR , LIEF::logging::CRITICAL
}
 Hierarchical logging level More...
 

Functions

const char * LIEF::logging::to_string (LEVEL e)
 
void LIEF::logging::disable ()
 Globally disable the logging module.
 
void LIEF::logging::enable ()
 Globally enable the logging module.
 
void LIEF::logging::set_level (LEVEL level)
 Change the logging level (hierarchical)
 
void LIEF::logging::set_path (const std::string &path)
 Change the logger as a file-base logging and set its path.
 
void LIEF::logging::log (LEVEL level, const std::string &msg)
 Log a message with the LIEF's logger.
 
void LIEF::logging::log (LEVEL level, const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::log (LEVEL level, const std::string &fmt, const Args &... args)
 
void LIEF::logging::set_logger (const spdlog::logger &logger)
 
void LIEF::logging::reset ()