logreio-apollo-server
v0.1.1
Published
Apollo Server Plugin for Logre.IO
Downloads
2
Maintainers
Readme
Logre.IO Apollo Server Plugin
Apollo Server plugin to send logs to Logre.IO.
Installation
$ npm install logreio-apollo-server
# or
$ yarn add logreio-apollo-server
Usage
import LogreIOPlugin from 'logreio-apollo-server'
// or
const LogreIOPlugin = require('logreio-apollo-server').default
// ...
const server = new ApolloServer({
typeDefs,
resolvers,
plugins: [
LogreIOPlugin({
id: "266715545538134546",
key: "****"
}),
],
});