Skip to content

πŸŒ²πŸΉπŸš€ cute ndjson formatter for pino and apollo-server

License

Notifications You must be signed in to change notification settings

danielfsousa/pino-colada-graphql

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

52 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

pino-colada-graphql 🍹

(WIP) A fork of pino-colada to include graphql logging.

pino-colada-graphql

Install

This project is not yet finished. It will be available to install with npm:

npm install pino-colada-graphql

Usage

Piping

It's recommended to use pino-colada-graphql with pino by piping your server output to it:

node server.js | pino-colada-graphql

Programatically

const pino = require('pino')
const logger = pino({
  prettifier: require('pino-colada-graphql')
})

logger.info('hi')

License

MIT

About

πŸŒ²πŸΉπŸš€ cute ndjson formatter for pino and apollo-server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%