Pino Logger store values in variable
Is there a way to save pino logger output to a variable before it gets logged to standard out?
Pino logging to MongoDB
From what I understand, Pino does logging and has ways to transport messages to different directories and to grafana loki API. I am wondering if there is a similar built in way to have the messages go out to a mongo table as well.