New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

loggeraas-node-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loggeraas-node-wrapper

This package allows you to easy configure and consume a logger-aas api

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Logger as a service wrapper for Node js

This package provides makes easy to consume a logger-aas api.

Installation & Usage

Easy to install from npm repository: npm install loggeraas-node-wrapper --save

Then import the package in your code, configure it with an logger-aas service and start logging your stuff.

// Require the package:
const loggerAasNodeWrapper = require('loggeraas-node-wrapper')

// Instantiate your logger and configure it:
const myShinyLogger = loggerAasNodeWrapper({
  host: 'logger.assa.services',
  path: '/api/v1/logs',
  method: 'POST',
  hash: 'loggeraas-node-wrapper-examples',
  enabled: true,
  verbose: true
})

// Start logging:
myShinyLogger.log('This is my first log')
myShinyLogger.log({ text: 'This is my second log', customKey: 'whatever' })

Keywords

wrapper

FAQs

Package last updated on 17 Jun 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