opifex.logger

0.0.2 • Public • Published

Opifex.Logger

Logs messages to the console

Usage

First write a script like:

Logger = require 'Opifex.Logger'
Logger('amqp://user:password@host:port/domain/exchange/queue/key')

And then on the given host send to the appropriate vhost on the given exchange a message:

[ "log", "some message" ]

And it will log "some message" to the console!

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i opifex.logger

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • cthulhuology