Package Exports
- fastify-graylog-reporter
- fastify-graylog-reporter/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fastify-graylog-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Fastify plugin for report request data to Graylog
Install
import { fastifyGrayLogReporter } from 'fastifyGrayLogReporter';
/**
* Register plugin
*/
fastify.register(fastifyGrayLogReporter, {
host: 'my host',
/**
* optional value
*/
port: 5555,
/**
* stream name
*/
facility: `API_${process.env.ENVIRONMENT}`,
});
