Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@burstware/burst-log

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burstware/burst-log

Burst logging tool

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Burst Log Build Status Coverage

NPM

Burst logging tool

Usage

The following values are available for log levels on the LOG_LEVEL environment variable:

  • emerg
  • alert
  • crit
  • error
  • warning
  • notice
  • info (default)
  • debug
const log = require('@burstware/burst-log')

log.emerg("127.0.0.1 - there's no place like home")
log.alert("127.0.0.1 - there's no place like home")
log.crit("127.0.0.1 - there's no place like home")
log.error("127.0.0.1 - there's no place like home")
log.warning("127.0.0.1 - there's no place like home")
log.notice("127.0.0.1 - there's no place like home")
log.info("127.0.0.1 - there's no place like home")
// Note: LOG_LEVEL=debug must be set on the environment to see debug level logs
log.debug("127.0.0.1 - there's no place like home")

screenshot

Changelog

v1.1.0 Now the log level is defined by the environment variable LOG_LEVEL and is set to info by default

FAQs

Package last updated on 07 Jan 2021

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