hapijs / hapi-pino

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

upgraded to use pino 6.11.1 #133

Closed midnightcodr closed 3 years ago

midnightcodr commented 3 years ago

Upgraded to the newest pino library so useful methods such as setLevel can be used through this plug-in.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 99.073% when pulling 08c96b58467a202d04955e576884c1058da97a8f on midnightcodr:master into 44cbdec76cb29df2d8e90a4efd35a206b7b02133 on pinojs:master.

midnightcodr commented 3 years ago

In my application I implemented a feature to reload settings, change log level on the fly using redis pub/sub without restarting Hapi server. At the moment I am using https://github.com/pimterry/loglevel for logging and it does exactly what I needed (change log level on the fly without restarting server) but I wanted something with better structure that's why I am looking into hapi-pino.