MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / logCallback

Method logCallback

Engine/source/console/consoleLogger.cpp:194–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192//-----------------------------------------------------------------------------
193
194void ConsoleLogger::logCallback( U32 level, const char *consoleLine )
195{
196
197 ConsoleLogger *curr;
198
199 // Loop through active consumers and send them the message
200 for( int i = 0; i < mActiveLoggers.size(); i++ )
201 {
202 curr = mActiveLoggers[i];
203
204 // If the log level is within the log threshhold, log it
205 if( curr->mLevel <= level )
206 curr->log( consoleLine );
207 }
208}
209
210//-----------------------------------------------------------------------------
211

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected