Socket
Socket
Sign inDemoInstall

notifications-logger

Package Overview
Dependencies
6
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    notifications-logger

The class for get the logs in systems and send for server api


Version published
Weekly downloads
0
Maintainers
1
Install size
4.51 MB
Created
Weekly downloads
 

Readme

Source

Install

npm i notification-logger

Notification Logger

how instance the lib

const notifyLogger = new NotificationLogger({
  applicationName: 'application name' ,
  version: '<version-app>'
  hostAPI: 'http://localhost:3002' 
})

Methods

monit

the principal method, him used by send messagens for api

notifyLogger.monit('you message logger')

structure information sent

POST htp://you-url<:port>/log/name-application

{
    created_at: YYYY-MM-DD HH:mm:ss,
    data: "lorem ipsu"
}

Keywords

FAQs

Last updated on 15 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc