Skip to content

Commit

Permalink
Fix table formatting for EncoderRedactor
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDryga committed May 14, 2024
1 parent 81b3f0a commit a8dd04e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/logger_json/formatter/redactor_encoder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule LoggerJSON.Formatter.RedactorEncoder do
## Encoding rules
Type | Encoding | Redaction
--------------------|-----------------------------------------------------|---------------
------------------- | --------------------------------------------------- | --------------
`boolean()` | unchanged | unchanged
`map()` | unchanged | values are redacted
`list()` | unchanged | unchanged
Expand All @@ -18,7 +18,6 @@ defmodule LoggerJSON.Formatter.RedactorEncoder do
`keyword()` | converted to map | values are redacted
`%Jason.Fragment{}` | unchanged | unchanged
everything else | using `inspect/2` | unchanged
"""

@type redactor :: {redactor :: module(), redactor_opts :: term()}
Expand Down

0 comments on commit a8dd04e

Please sign in to comment.