|
LIEF: Library to Instrument Executable Formats Version 1.0.0
|
Functions | |
| LEVEL | get_level (const char *name) |
| Get the logging level for the logger with the given name. | |
| void | disable (const char *name) |
| Disable the logger with the given name. | |
| void | enable (const char *name) |
| Enable the logger with the given name. | |
| void | set_level (const char *name, LEVEL level) |
| Set the log level for the logger with the given name. | |
| void | set_path (const char *name, const std::string &path) |
| Change the logger with the given as a file-base logging and set its path. | |
| void | log (const char *name, LEVEL level, const std::string &msg) |
| Log a message with the logger whose name in provided in the first parameter. | |
| void | set_logger (const char *name, std::shared_ptr< spdlog::logger > logger) |
| Set a spdlog sink for the logger with the given name. | |
| spdlog::logger & | get_sink (const char *name) |
| void | reset (const char *name) |
| Reset the logger with the given name. | |
| void | enable_debug (const char *name) |
| Enable debug logging for the logger with the given name. | |
| void | debug (const char *name, const std::string &msg) |
| void | info (const char *name, const std::string &msg) |
| void | warn (const char *name, const std::string &msg) |
| void | err (const char *name, const std::string &msg) |
| void | critical (const char *name, const std::string &msg) |
|
inline |
References LIEF::logging::CRITICAL, and log().
|
inline |
References LIEF::logging::DEBUG, and log().
| void LIEF::logging::named::disable | ( | const char * | name | ) |
Disable the logger with the given name.
References LIEF_API.
| void LIEF::logging::named::enable | ( | const char * | name | ) |
Enable the logger with the given name.
References LIEF_API.
|
inline |
Enable debug logging for the logger with the given name.
References LIEF::logging::DEBUG, and set_level().
|
inline |
References LIEF::logging::ERR, and log().
| LEVEL LIEF::logging::named::get_level | ( | const char * | name | ) |
Get the logging level for the logger with the given name.
References LIEF_API.
| spdlog::logger & LIEF::logging::named::get_sink | ( | const char * | name | ) |
References LIEF_API.
|
inline |
References LIEF::logging::INFO, and log().
| void LIEF::logging::named::log | ( | const char * | name, |
| LEVEL | level, | ||
| const std::string & | msg ) |
| void LIEF::logging::named::reset | ( | const char * | name | ) |
Reset the logger with the given name.
References LIEF_API.
| void LIEF::logging::named::set_level | ( | const char * | name, |
| LEVEL | level ) |
Set the log level for the logger with the given name.
References LIEF_API.
Referenced by enable_debug().
| void LIEF::logging::named::set_logger | ( | const char * | name, |
| std::shared_ptr< spdlog::logger > | logger ) |
Set a spdlog sink for the logger with the given name.
References LIEF_API.
| void LIEF::logging::named::set_path | ( | const char * | name, |
| const std::string & | path ) |
Change the logger with the given as a file-base logging and set its path.
References LIEF_API.
|
inline |
References log(), and LIEF::logging::WARN.