irtm-logs

1.1.0 • Public • Published

irtm-logs

irtm-Logs saves all related data from each endpoint (request & response) in all micro-services

Installation

Using npm:

$ npm install irtm-logs

Note: add --save if you are using npm < 5.0.0

In Node.js save any endpoint action by having objectId, objectType, endpoint request (req) & response (res):

// Load irtm-logs
const Logs = require('irtm-logs')

// save endpoint action
Logs.send(objectId, objectType, req, res)

/irtm-logs/

    Package Sidebar

    Install

    npm i irtm-logs

    Weekly Downloads

    2

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    4.52 kB

    Total Files

    5

    Last publish

    Collaborators

    • amin4193