From ad034d282680b29100e6a8041769ffb32a72d364 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Mon, 13 Feb 2023 14:52:30 +0100 Subject: sokol_log.h: minor comment tweaks --- sokol_log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sokol_log.h b/sokol_log.h index 754ac77b..d517510a 100644 --- a/sokol_log.h +++ b/sokol_log.h @@ -46,14 +46,14 @@ - Windows: stderr + OutputDebugStringA() - macOS/iOS/Linux: stderr + syslog() - - Emscripten: browser console + - Emscripten: console.info()/warn()/error() - Android: __android_log_write() In debug mode, a log message might look like this: [saudio] [error] /Users/floh/projects/sokol/sokol_audio.h:2422:0: COREAUDIO_NEW_OUTPUT_FAILED (id:32) - The source path and line number is formatted in like compiler errors, in some IDEs (like VSCode) + The source path and line number is formatted like compiler errors, in some IDEs (like VSCode) such error messages are clickable. In release mode, logging is less verbose as to not bloat the executable with string data, but you still get -- cgit v1.2.3