ax
A simple logging library
Last updated 12 years ago by dyoder .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ax 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.2.2                                ...           latest (12 years ago)

12 Versions

  • 0.2.2                                ...           12 years ago
  • 0.2.1                                ...           13 years ago
  • 0.1.8                                ...           13 years ago
  • 0.2.0                                ...           13 years ago
  • 0.1.6                                ...           14 years ago
  • 0.1.5                                ...           14 years ago
  • 0.1.3                                ...           14 years ago
  • 0.1.2                                ...           14 years ago
  • 0.1.1                                ...           14 years ago
  • 0.1.0                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
  • 0.0.2                                ...           14 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |