MCPcopy Create free account
hub / github.com/chrxh/alien / unregisterCallBack

Method unregisterCallBack

source/Base/LoggingService.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void LoggingService::unregisterCallBack(LoggingCallBack* callback)
31{
32 auto end = std::remove_if(_callbacks.begin(), _callbacks.end(), [&](auto const& callback_) { return callback_ == callback; });
33
34 _callbacks.erase(end, _callbacks.end());
35}

Callers 2

~_FileLoggerMethod · 0.80
~_GuiLoggerMethod · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected