MCPcopy Create free account
hub / github.com/Snapchat/Valdi / willLog

Method willLog

valdi/src/valdi/runtime/Debugger/DebuggerService.cpp:226–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224}
225
226void DebuggerService::willLog(LogType type, const std::string& message) {
227 std::lock_guard<Mutex> guard(_mutex);
228 for (const auto& daemonClient : _clients) {
229 daemonClient->sendLog(type, message);
230 }
231}
232
233void DebuggerService::didReceiveUpdatedResources(const SharedVector<Shared<Resource>>& resources) {
234 std::lock_guard<Mutex> lock(_mutex);

Callers

nothing calls this directly

Calls 1

sendLogMethod · 0.80

Tested by

no test coverage detected