0.0.1 • Published 6 years ago
simple-apollo-logger v0.0.1
@est-normalis/simple-apollo-logger
A very simple logger for Apollo Server
Warning simple-apollo-logger is in alpha version.
Installation
yarn
yarn add @est-normalis/simple-apollo-logger
npm
npm i @est-normalis/simple-apollo-logger
Usage
To use this package you need to add extension to your ApolloServer
[...]
import logger from '@est-normalis/simple-apollo-logger'
const server = ApolloServer({
extensions: [() => new logger()],
[...]
})
Now you will be able to see logs in your console.
0.0.1
6 years ago