node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

pm2-logs

pm2-logs

Pm2 cli logs interface

pm2-logs

Programmatic useformat:

var logs = require('pm2-logs')({format: 'some moment format'})

Test

node bin/index.js
sh test/test.sh