rest-hapi icon indicating copy to clipboard operation
rest-hapi copied to clipboard

Logging Module

Open JKHeadley opened this issue 7 years ago • 2 comments
trafficstars

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: https://github.com/JKHeadley/rest-hapi/issues/150

JKHeadley avatar Oct 18 '18 20:10 JKHeadley

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

Apparently there is already a standard way of logging in hapi

mkg20001 avatar Nov 03 '18 15:11 mkg20001

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

JKHeadley avatar Nov 05 '18 05:11 JKHeadley