MCPcopy 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

TESTFunction · 0.85
shutdownFunction · 0.85

Calls 3

findFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68