From 9e49ae3e1d32a8f814167414ece8cc2a98a6e4b5 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 9 Sep 2024 10:33:51 -0700 Subject: [PATCH] Document ignoreLogs configuration setting --- content/en/getting-started/configuration.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index f94595b64..03af96956 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -331,6 +331,12 @@ See [Front matter Configuration](#configure-front-matter). (`bool`) Ignore the cache directory. Default is `false`. +###### ignoreLogs +(`string slice`) A slice of message identifiers corresponding to warnings and errors you wish to suppress. See [`erroridf`] and [`warnidf`]. + +[`erroridf`]: /functions/fmt/erroridf/ +[`warnidf`]: /functions/fmt/warnidf/ + ###### ignoreVendorPaths (`string`) Ignore vendored modules that match the given [Glob] pattern within the `_vendor` directory. @@ -494,8 +500,7 @@ See [Configure Taxonomies](/content-management/taxonomies#configure-taxonomies). ###### templateMetrics -(`bool`) Whether to print template execution metrics to the console. Default is `false`. -See [Template metrics](/troubleshooting/performance/#template-metrics) +(`bool`) Whether to print template execution metrics to the console. Default is `false`. See [Template metrics](/troubleshooting/performance/#template-metrics). ###### templateMetricsHints