pino icon indicating copy to clipboard operation
pino copied to clipboard

Possible to remove a binding?

Open stowns opened this issue 4 years ago • 1 comments

I have been unable to determine the correct way to remove a binding from a logger instance. Is there a preferred (or possible way) to do this? It's quite easy to add bindings by creating a child logger. However, if I want to remove some context from a logger there doesn't appear to be an obvious way to do this. Can anyone help with this? thanks in advance for any insight

stowns avatar Jun 02 '21 16:06 stowns

That's not possible at the moment. You'd need to generate a new child logger.

mcollina avatar Jun 02 '21 18:06 mcollina

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Jun 15 '23 00:06 github-actions[bot]