MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / getText

Method getText

source/core/StarLogging.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201Deque<SpatialLogger::LogText> SpatialLogger::getText(char const* space, bool andClear) {
202 MutexLocker locker(s_mutex);
203 if (andClear)
204 return take(s_logText[space]);
205 else
206 return s_logText[space];
207}
208
209void SpatialLogger::clear() {
210 decltype(s_lines) lines;

Callers 13

makeWidgetCallbacksMethod · 0.80
playMethod · 0.80
refreshMethod · 0.80
countTextChangedMethod · 0.80
determineRecipesMethod · 0.80
okMethod · 0.80
initMultiPlayerMenuMethod · 0.80
CharSelectionPaneMethod · 0.80
okMethod · 0.80
countTextChangedMethod · 0.80
changedMethod · 0.80

Calls 1

takeFunction · 0.85

Tested by

no test coverage detected