From 7b368dcdf48340918f009f52ece064328a2ec0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 3 Oct 2019 16:25:59 +0200 Subject: [PATCH] GL: mention how to do --magnum-log quiet directly from C++. --- src/Magnum/GL/Context.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Magnum/GL/Context.h b/src/Magnum/GL/Context.h index 94c1ef09f..e2aac201d 100644 --- a/src/Magnum/GL/Context.h +++ b/src/Magnum/GL/Context.h @@ -144,7 +144,9 @@ Arguments: to be enabled for context creation for both windowed and windowless applications on supported platforms - `--magnum-log default|quiet|verbose` --- console logging - (environment: `MAGNUM_LOG`) (default: `default`) + (environment: `MAGNUM_LOG`) (default: `default`). If you need to suppress + the engine startup log from code, the recommended way is to redirect + @ref Utility-Debug-scoped-output "debug output to null" during context creation. Note that all options are prefixed with `--magnum-` to avoid conflicts with options passed to the application itself. Options that don't have this prefix