A Pino Transport for PostgreSQL databases.
npm install pino-pg!GitHub Workflow Status
!GitHub
!npm
npm install pino-pg
`Usage
Store logs to PostgreSQL.
`
node my-app.js | pino-pg --connectionUrl --table --column
`Options
- The connectionUrl (or u) must contain the postgres url string.
- The table (or t) must contain the table name. Default to logs.
- The column (or c`) must contain the name of the JSONB column where you want to store log entries.