From 2cdddbab56ffdbca6accfc626521968fbe2c917e Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 29 Mar 2022 23:59:44 +0200 Subject: Add new debug() function Adds a new debug() function that can be used in the meson.build to log messages to the meson-log.txt that will not be printed to stdout when configuring the project. --- docs/yaml/functions/debug.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/yaml/functions/debug.yaml (limited to 'docs/yaml/functions') diff --git a/docs/yaml/functions/debug.yaml b/docs/yaml/functions/debug.yaml new file mode 100644 index 0000000..a64bd92 --- /dev/null +++ b/docs/yaml/functions/debug.yaml @@ -0,0 +1,14 @@ +name: debug +returns: void +since: 0.63.0 +description: Write the argument string to the meson build log. + +posargs: + message: + type: str | int | bool | list[str | int | bool] | dict[str | int | bool] + description: The message to print + +varargs: + name: msg + type: str | int | bool | list[str | int | bool] | dict[str | int | bool] + description: Additional parameters will be separated by spaces -- cgit v1.1