Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ removeSink
Function
removeSink
src/Diagnostics/src/Logging.cpp:63–70 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
void removeSink(std::shared_ptr<LogSink> sink)
64
{
65
auto it = std::find(_sinks.begin(), _sinks.end(), sink);
66
if (it != _sinks.end())
67
{
68
_sinks.erase(it);
69
}
70
}
71
72
void incrementIntend()
73
{
Callers
2
TEST
Function · 0.85
shutdown
Function · 0.85
Calls
3
find
Function · 0.85
begin
Method · 0.45
end
Method · 0.45
Tested by
1
TEST
Function · 0.68