bunyan-compose

A wrapper around bunyan CLI to allow pass through from docker compose logs

Usage no npm install needed!

<script type="module">
  import bunyanCompose from 'https://cdn.skypack.dev/bunyan-compose';
</script>

README

Bunyan Compose

A quick and dirty wrapper around bunyan CLI to support the output of docker-compose

It will pass through any non JSON Docker compose logs, and correctly format JSON logs, swapping out the name field for the docker-compose container name (with color)