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

Method log

Engine/source/platformWin32/winInput.cpp:492–506  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

490#ifdef LOG_INPUT
491//------------------------------------------------------------------------------
492void Input::log( const char* format, ... )
493{
494 if ( !gInputLog )
495 return;
496
497 va_list argptr;
498 va_start( argptr, format );
499
500 char buffer[512];
501 dVsprintf( buffer, 511, format, argptr );
502 DWORD bytes;
503 WriteFile( gInputLog, buffer, dStrlen( buffer ), &bytes, NULL );
504
505 va_end( argptr );
506}
507
508DefineEngineFunction( inputLog, void, (const char * log), , "inputLog( string )")
509{

Callers

nothing calls this directly

Calls 2

dVsprintfFunction · 0.85
dStrlenFunction · 0.50

Tested by

no test coverage detected