Socket
Socket
Sign inDemoInstall

@amazeeio/amazeeio-logs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amazeeio/amazeeio-logs

amazeeio logs sdk


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

amazeeio-logs

This is a nodejs helper called amazeeio-logs within the amazeeio lagoon deployment system.

It allows nodejs services to log messages to the amazeeio-logs rabbitmq exchange, which then are handled by other services like elasticsearch and slack.

Usage

import { sendToAmazeeioLogs, initSendToAmazeeioLogs } from '@amazeeio/amazeeio-logs';
initSendToAmazeeioLogs();

sendToAmazeeioLogs(severity: string, sitegroup: string, uuid: string, event: string, meta: object, message: string)
  • severity - one of error, warn, info, verbose, debug, silly based on winston log levels
  • sitegroup - sitegroup this log message belongs to, can be empty string
  • uuid - webhook uuid this log message belongs to, can be empty
  • event - name of the event to be logged, is used to define were the log should be displayed later (like slack, hipchat, etc.)
  • meta - additional information about the message in a javascript object
  • message - human readable text of the log message, which will be used when the message is shown to humans (like slack)

Hosting

Fully developed in Docker and hosted on amazee.io Openshift, see the .openshift folder. Deployed via Jenkinsfile.

Uses amazeeio/centos7-node:node6 as base image.

FAQs

Package last updated on 06 Jul 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc