pinojs/pino

Clarification on wildcard documentation

Open

#1,392 opened on Apr 5, 2022

View on GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (13,157 stars) (839 forks)batch import
good first issue

Description

Hello! I'd like to be able to use wildcards in this way:

// Need to redact my_secret, my_other_secret, another_secret.

paths: ['*secret'],

It is unclear from the documentation if this is supported, or whether wildcards only pertain to whole keys and not parts of key words?

Contributor guide