apollo-server-logger
v1.0.1
Published
A logger for apollo server
Downloads
716
Readme
Apollo-server-logger
Installing
npm
npm i --save apollo-server-logger
yarn
yarn add apollo-server-logger
Usage
import { LoggerExtension } from 'apollo-server-logger'
...
const server = new ApolloServer({
typeDefs,
resolvers,
extensions: [() => new LoggerExtension({
// options
tracing: true
})]
})
Options
{
tracing = false: Boolean // show tracing or not
}
License
This project is licensed under the MIT License - see the LICENSE.md file for details