Pino transport for Postgres
npm install pino-postgres> Pino transport for Postgres
``sh`
$ npm install pino-postgresor
$ yarn add pino-postgres
`
Usage: pino-postgres [options]
Options:
-V, --version output the version number
--connection
--table
--schema
--column
--flush-interval
--buffer-size
--max-connections
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
--wrap-non-json wrap non-json messages as json (default: false)
-h, --help display help for command
`
```
node app.js | pino-postgres --connection postgres://username:password@localhost:5432/database
> pino-postgres does not create the necessary database table, make sure the table with jsonb column exists.
Contributions, issues and feature requests are welcome!
Copyright © 2020 Aldis Ameriks.
This project is MIT licensed.