mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
[util/gpu] Route LOGI to stderr
LOGI is informational output (help text, toggle state, fps). It belongs on stderr: that keeps stdout available for program output (e.g. --output-file=- piping a PPM through a pipeline), and it matches LOGW/LOGE which already go to stderr. No user-visible change in normal (windowed) runs; stderr shows up in the same terminal as stdout by default. Assisted-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
644b007df5
commit
6828ad2865
1 file changed
+1
-1
@@ -31,7 +31,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#define LOGI(...) ((void) fprintf (stdout, __VA_ARGS__))
|
||||
#define LOGI(...) ((void) fprintf (stderr, __VA_ARGS__))
|
||||
#define LOGW(...) ((void) fprintf (stderr, __VA_ARGS__))
|
||||
#define LOGE(...) ((void) fprintf (stderr, __VA_ARGS__), abort ())
|
||||
|
||||
|
||||
Reference in new issue
Block a user