hapijs / hapi-pino

🌲 Hapi plugin for the Pino logger
MIT License
148 stars 61 forks source link

fix: allow logging numbers when mergeHapiLogData is true #154

Closed AdriVanHoudt closed 2 years ago

AdriVanHoudt commented 2 years ago

The number/data from the log was being erased by the Object.assign.

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.01%) to 99.0% when pulling 6f6a9ea7516fbd87b9b41c2a8878f8794cb07c3a on AdriVanHoudt:master into 7907e21c68619b14bffbe549cc80f23f593829b2 on pinojs:master.