Skip to content

Reporters

A reporter is a plugin that’s responsible for printing the migration progress and results to the console.

Using a reporter

You can specify a reporter via the --reporter (or -r for short) option:

Terminal window
npx emigrate list --reporter pino

Or set it up in your configuration file, see Reporter configuration for more information.

Available Reporters

Pretty Reporter The default reporter
JSON Reporter A built-in reporter for outputing a JSON object
Pino Reporter A reporter package for outputting new line delimited JSON