You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for the great work!
I am trying to assess a runtime object is an instance of Pino. I found that pino instances do have a constructor, though it's not exported to consumers:
First of all, thank you very much for the great work!
I am trying to assess a runtime object is an instance of Pino. I found that pino instances do have a constructor, though it's not exported to consumers:
pino/lib/proto.js
Line 54 in 8db130e
I can, then, use
logger.constructor.name === 'Pino'
, but I wonder whether it would make sense to export this class, to allowlogger instanceOf Pino
.The text was updated successfully, but these errors were encountered: