Skip to content

Commit b10543b

Browse files
committed
document the include_variables option
1 parent 94d43d0 commit b10543b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/uinta/plug.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ if Code.ensure_loaded?(Plug) do
2727
and replace it with this (using only the options you want):
2828
2929
```
30-
plug Uinta.Plug, json: false, log: :info
30+
plug Uinta.Plug, include_variables: false, json: false, log: :info
3131
```
3232
3333
## Options
3434
35+
- `:include_variables` - Whether or not to include any GraphQL variables in
36+
the log line when applicable. Default is `false`.
3537
- `:json` - Whether or not this plug should log in JSON format. Default is
3638
`false`
3739
- `:log` - The log level at which this plug should log its request info.

0 commit comments

Comments
 (0)