JKHeadley/rest-hapi

Logging Module

JKHeadley opened this issue · 2 comments

Is your feature request related to a problem? Please describe.
Logging should be more flexible and ideally the developer should be able to choose which logging module to implement.

Describe the solution you'd like
Support a generic logging module that provides default functionality (through a supported third part logging module), but also allows the dev to plugin their logging module of choice.

See: #150

I just found this: https://github.com/pinojs/hapi-pino#usage
screenshot

Apparently there is already a standard way of logging in hapi

hapi-pino looks like a solid option for sure. Need to look into the features for the hapi logger. Nice find!