Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsbty committed Aug 17, 2021
1 parent 40e1a4a commit 3271694
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/uinta/plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ if Code.ensure_loaded?(Plug) do
json: false,
include_variables: false,
ignored_paths: [],
filter_variables: []
filter_variables: [],
success_log_sampling_ratio: 1.0
```
If your endpoint didn't call `Plug.Logger`, add the above line above the line
Expand Down Expand Up @@ -79,6 +80,8 @@ if Code.ensure_loaded?(Plug) do
`idToken`, and `refreshToken` will be filtered.
- `:include_unnamed_queries` - Whether or not to include the full query
body for queries with no name supplied
- `:success_log_sampling_ratio` - What percentage of successful requests
should be logged. Defaults to 1.0
"""

require Logger
Expand Down

0 comments on commit 3271694

Please sign in to comment.