Skip to content
Discussion options

You must be logged in to vote

Yes. Pass your logger as createSafeLogger(logger, options). It wraps the configured methods, defaulting to debug, error, info, log, and warn, then redacts every argument before forwarding it. If a method is missing, it falls back to logger.log when available.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by clyxudev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants