@mgfx/instrumenter-pino
An mgFx Instrumenter that uses Pino as a logging provider.
Usage
- Install
@mgfx/instrumenter-pino
into your existing mgFx application:
$ yarn add @mgfx/instrumenter-pino
- Add the Instrumenter middleware to your mgFx connector:
import { localConnector } from 'mgfx';
import { pino } from '@mgfx/instrumenter-pino';
const connector = localConnector();
connector.use(pino());