MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / platform_debug_output

Function platform_debug_output

StereoKitC/platforms/web.cpp:444–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442///////////////////////////////////////////
443
444void platform_debug_output(log_ level, const char *text) {
445 if (level == log_diagnostic) emscripten_console_log(text);
446 else if (level == log_inform ) emscripten_console_log(text);
447 else if (level == log_warning ) emscripten_console_warn(text);
448 else if (level == log_error ) emscripten_console_error(text);
449}
450
451///////////////////////////////////////////
452

Callers 1

log_writeFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected