MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / handle

Method handle

src/thundersvm/util/log.cpp:2102–2106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2100// DefaultLogDispatchCallback
2101
2102 void DefaultLogDispatchCallback::handle(const LogDispatchData* data) {
2103 m_data = data;
2104 dispatch(m_data->logMessage()->logger()->logBuilder()->build(m_data->logMessage(),
2105 m_data->dispatchAction() == base::DispatchAction::NormalLog));
2106 }
2107
2108 void DefaultLogDispatchCallback::dispatch(base::type::string_t&& logLine) {
2109 if (m_data->dispatchAction() == base::DispatchAction::NormalLog) {

Callers 4

getMethod · 0.45
dispatchMethod · 0.45
~PerformanceTrackerMethod · 0.45
checkpointMethod · 0.45

Calls 15

AsyncLogItemClass · 0.85
buildMethod · 0.80
logBuilderMethod · 0.80
loggerMethod · 0.80
dispatchActionMethod · 0.80
toStandardOutputMethod · 0.80
typedConfigurationsMethod · 0.80
toFileMethod · 0.80
pushMethod · 0.80
asyncLogQueueMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected