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: "****"
}),
],
});