Skip to content

Commit

Permalink
docs: add links to parent options
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed Jul 9, 2021
1 parent e1252ea commit f7c83f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ logger.info('Message 2')
If the `mixin` feature is being used merely to add static metadata to each log message,
then a [child logger ⇗](/docs/child-loggers.md) should be used instead.

<a id=opt-redact></a>
#### `redact` (Array | Object):

Default: `undefined`
Expand Down Expand Up @@ -716,6 +717,8 @@ logger.info({ hello: 'world' })
// {"level":30,"time":1625794553558,"pid":67930,"hostname":"x","hello":"world", "foo": "[Redacted]" }
```

* See [`redact` option](#opt-redact)

<a id="bindings"></a>
### `logger.bindings()`

Expand Down

0 comments on commit f7c83f5

Please sign in to comment.