pm2-logs

Pm2 cli logs interface

Usage no npm install needed!

<script type="module">
  import pm2Logs from 'https://cdn.skypack.dev/pm2-logs';
</script>

README

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