MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / log_to_kernel

Method log_to_kernel

OpenHD/ohd_common/src/openhd_spdlog.cpp:168–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void openhd::log::log_to_kernel(const std::string& message) {
169 OHDUtil::run_command(fmt::format("echo \"{}\" > /dev/kmsg", message), {},
170 false);
171}
172
173void openhd::log::debug_log(const std::string& message) {
174 openhd::log::get_default()->debug(message);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected