aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-02-23 11:46:20 -0500
committerXavier Claessens <xclaesse@gmail.com>2023-03-02 10:10:03 -0500
commita0d0fb549212f6140323a7988e457ebda6e0b56d (patch)
tree0225a45a6799a057a7b1d453cad333e618448827 /docs/markdown/snippets
parenta3f4f6c88f14ba9f176721bace861d705a11189c (diff)
downloadmeson-a0d0fb549212f6140323a7988e457ebda6e0b56d.zip
meson-a0d0fb549212f6140323a7988e457ebda6e0b56d.tar.gz
meson-a0d0fb549212f6140323a7988e457ebda6e0b56d.tar.bz2
mintro: redirect stdout to stderr
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/mintro_outputs.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/mintro_outputs.md b/docs/markdown/snippets/mintro_outputs.md
new file mode 100644
index 0000000..cfc7f8c
--- /dev/null
+++ b/docs/markdown/snippets/mintro_outputs.md
@@ -0,0 +1,5 @@
+## Redirect introspection outputs to stderr
+
+`meson introspect` used to disable logging to `stdout` to not interfere with generated json.
+It now redirect outputs to `stderr` to allow printing warnings to the console
+while keeping `stdout` clean for json outputs.