MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetRequestedIPCLogLevel

Function GetRequestedIPCLogLevel

src/ipc/capnp/protocol.cpp:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace {
33
34mp::Log GetRequestedIPCLogLevel()
35{
36 if (util::log::ShouldTraceLog(BCLog::IPC)) return mp::Log::Trace;
37 if (util::log::ShouldDebugLog(BCLog::IPC)) return mp::Log::Debug;
38
39 // Info, Warning, and Error are logged unconditionally
40 return mp::Log::Info;
41}
42
43void IpcLogFn(mp::LogMessage message)
44{

Callers 2

serveMethod · 0.85
startLoopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected