summaryrefslogtreecommitdiff
path: root/docs/modules/api/pages/options.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modules/api/pages/options.adoc')
-rw-r--r--docs/modules/api/pages/options.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/modules/api/pages/options.adoc b/docs/modules/api/pages/options.adoc
index 1b753e41..3e7bb62f 100644
--- a/docs/modules/api/pages/options.adoc
+++ b/docs/modules/api/pages/options.adoc
@@ -66,6 +66,13 @@ Instead of providing a Ruby block containing extensions to register, this option
|_not set_
|`Extensions::Registry` instance
+|`:logger`
+|Shorthand to assign a new value to the global `LoggerManager.logger`.
+This is persistent change, so you either have to reset the value afterwards or pass the option each time you call the API.
+If value is falsy, it assigns a null logger, effectively turning off logging.
+|_not set_
+|`Logger` instance
+
|`:parse_header_only`
|If `true`, the parser stops after reading the header.
|`false`