I'm wondering the reason behind this, because I need to discern which logs to transport for proper error processing (i.e. needing to send to a system like Sentry or Raygun, or even simple log filtering for errors by level) - and lowering that threshold to warn doesn't sound correct to me. Curious if I'm misunderstanding something
The readme correctly asserts the logger issues a log of a thrown error with the level
warn
(also see: https://github.com/pinojs/hapi-pino/blob/master/index.js#L81-L87)I'm wondering the reason behind this, because I need to discern which logs to transport for proper error processing (i.e. needing to send to a system like Sentry or Raygun, or even simple log filtering for errors by level) - and lowering that threshold to
warn
doesn't sound correct to me. Curious if I'm misunderstanding something