🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ax

Package Overview
Dependencies
Maintainers
2
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.2
latest
Source
npm
Version published
Weekly downloads
3.7K
19.31%
Maintainers
2
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

logging

FAQs

Package last updated on 16 Sep 2014

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