LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
logging.hpp File Reference
#include "LIEF/visibility.h"
#include <string>
#include <memory>
#include <vector>
#include <cstdint>
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.

Classes

class  LIEF::logging::Scoped
 

Namespaces

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

Enumerations

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

Functions

LEVEL LIEF::logging::get_level ()
 Current log level.
 
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 (std::shared_ptr< spdlog::logger > logger)
 
void LIEF::logging::reset ()
 
void LIEF::logging::enable_debug ()
 
void LIEF::logging::debug (const std::string &msg)
 
void LIEF::logging::debug (const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::debug (const std::string &fmt, const Args &... args)
 
void LIEF::logging::info (const std::string &msg)
 
void LIEF::logging::info (const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::info (const std::string &fmt, const Args &... args)
 
void LIEF::logging::warn (const std::string &msg)
 
void LIEF::logging::warn (const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::warn (const std::string &fmt, const Args &... args)
 
void LIEF::logging::err (const std::string &msg)
 
void LIEF::logging::err (const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::err (const std::string &fmt, const Args &... args)
 
void LIEF::logging::critical (const std::string &msg)
 
void LIEF::logging::critical (const std::string &fmt, const std::vector< std::string > &args)
 
template<typename... Args>
void LIEF::logging::critical (const std::string &fmt, const Args &... args)