log-stomp

A log module that sends its messages to a STOMP server (e.g. ActiveMQ)

Usage no npm install needed!

<script type="module">
  import logStomp from 'https://cdn.skypack.dev/log-stomp';
</script>

README

This is a node.js logging module that sends its log messages to a STOMP server, such as ActiveMQ or RabbitMQ.

var logger = require('log-stomp');

var log = logger.createLogger({name: 'stompQueueName', hostname: messageBroker,
  port: 61613, user: 'admin', password: 'admin'});

log.info('this is an info log message');
log.error('this is an error log message');

TODO:

  • Filter logs by level.