MCPcopy Create free account
hub / github.com/lief-project/LIEF / init_python_sink

Function init_python_sink

api/python/src/pyLIEF.cpp:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void init_python_sink() {
98 spdlog::details::registry::instance().drop("LIEF");
99 std::shared_ptr<spdlog::logger> logger = spdlog::stderr_python_mt("LIEF");
100 LIEF::logging::set_logger(std::move(logger));
101}
102
103void init_logger(nb::module_& m) {
104 nb::module_ logging = m.def_submodule("logging");

Callers 2

init_loggerFunction · 0.85
initFunction · 0.85

Calls 2

stderr_python_mtFunction · 0.85
set_loggerFunction · 0.85

Tested by

no test coverage detected