pinojs/pino

Clarification on wildcard documentation

Open

#1,392 opened on Apr 5, 2022

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

Repository metrics

Stars
 (13,157 stars)
PR merge metrics
 (Avg merge 1h 28m) (1 merged PR in 30d)

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