lrlna / pino-colada

cute ndjson formatter for pino 🌲🍹
MIT License
245 stars 46 forks source link

output more info #3

Closed yoshuawuyts closed 7 years ago

yoshuawuyts commented 7 years ago

server-sink produces a whole bunch of info besides message. I think it'd be good to output more data, akin to how garnish operates

{ name: 'http',
  message: 'request',
  method: 'GET',
  remoteAddress: '::1',
  url: '/' }
{ name: 'http',
  message: 'response',
  method: 'GET',
  url: '/',
  statusCode: 200,
  elapsed: 55,
  contentLength: 242 }

garnish image

lrlna commented 7 years ago

totes agree :v:

lrlna commented 7 years ago

@yoshuawuyts hmmmm is contentLength the bundle size? and elapsed the time it took to load the bundle? want to double check.

yoshuawuyts commented 7 years ago

Yeah it is

On Sat, Mar 18, 2017, 16:07 Irina Shestak notifications@github.com wrote:

@yoshuawuyts https://github.com/yoshuawuyts hmmmm is contentLength the bundle size? and elapsed the time it took to load the bundle? want to double check.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/lrlna/pino-colada/issues/3#issuecomment-287552051, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWlesJG1w6hyDQ3dUC_iMCbUUcaVRu9ks5rm_MagaJpZM4MhbOF .