MCPcopy Create free account
hub / github.com/davmac314/dinit / log

Function log

src/dinit-log.cc:483–486  ·  view source on GitHub ↗

Log a message. A newline will be appended.

Source from the content-addressed store, hash-verified

481
482// Log a message. A newline will be appended.
483void log(loglevel_t lvl, const char *msg) noexcept
484{
485 do_log(lvl, true, "dinit: ", msg, "\n");
486}
487
488void log(loglevel_t lvl, bool to_cons, const char *msg) noexcept
489{

Callers 15

process_find_loadMethod · 0.70
process_signalMethod · 0.70
queue_packetMethod · 0.70
data_readyMethod · 0.70
send_dataMethod · 0.70
process_dep_dirFunction · 0.70
load_reload_serviceMethod · 0.70
dinit_mainFunction · 0.70
do_soft_rebootFunction · 0.70
control_socket_cbFunction · 0.70
open_control_socketFunction · 0.70

Calls 1

do_logFunction · 0.85

Tested by

no test coverage detected