aboutsummaryrefslogtreecommitdiff
path: root/sokol_log.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-02-13 14:52:30 +0100
committerAndre Weissflog <floooh@gmail.com>2023-02-13 14:52:30 +0100
commitad034d282680b29100e6a8041769ffb32a72d364 (patch)
tree0ffa268719e5df4a892a5400e8700b4587432600 /sokol_log.h
parent90c09adad05c4ce10349e3978a23caac17d5d099 (diff)
sokol_log.h: minor comment tweaks
Diffstat (limited to 'sokol_log.h')
-rw-r--r--sokol_log.h4
1 files 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