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

ax

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ax

A simple logging library

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5K
increased by1.79%
Maintainers
4
Weekly downloads
 
Created
Source

Ax: Simple Logging Servce

Ax provides a very simple multi-level logging interface.

Ax = require "ax"
logger = new Ax level: "debug"

logger.info "Greetings, Professor Falken"
logger.warn "Warning, Will Robinson!"
logger.error "If I may say so, sir, I noticed earlier the hyperdrive
  motivator has been damaged. It's impossible to go to lightspeed."
logger.debug   "Instruments register only those things they're designed
  to register. Space still contains infinite unknowns."

You can also pass a stream option to log to a stream instead of stdout.

Keywords

FAQs

Package last updated on 31 Oct 2012

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