Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

IOPA
iopa-logger

Build Status IOPA limerun

NPM

About

iopa-logger is an IOPA middleware for tracing messages

Status

Working release

Includes:

Message Logger (middleware)

  • Automatic audit logging of outbound and inbound requests and responses

Installation

npm install iopa-logger

Usage

const MessageLogger = require('iopa-logger').MessageLogger

:
// INBOUND MESSAGES AND CORRESPONDING OUTBOUND RESPONSES
var appServer = new iopa.App();
app.use(MessageLogger);

// OUTBOUND MESSAGES AND CORRESPONDING INBOUND RESPONSES
var server = mqtt.createServer(app.build());
server.connectuse(iopaMessageLogger.connect);         

:

See iopa-mqtt for a reference implementation of this repository

About

iopa-logger is IOPA middleware for tracing IOT messages

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.