ak-logger
Simple logger with titles
Last updated 2 years ago by arshadkazmi42 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ak-logger 
SYNC missed versions from official npm registry.

ak-logger

npm version Dependencies npm Downloads Codacy Badge

How to install?

NPM

How to use?

var log = require('ak-logger');

const person = { name: 'Gustavo', age: 23 }

// Printing debug log as an object
log.debug(person, "DEBUG LOGS");
/* Result

=====DEBUG LOGS=====
{ name: 'Gustavo', age: 23 }
=====DEBUG LOGS=====
*/

// Printing debug log as an string (stringify = true)
log.debug(person, "DEBUG_LOGS", true)
/* Result

=====DEBUG_LOGS=====
{"name":"Gustavo","age":23}
=====DEBUG_LOGS=====
*/


Contributors

Contributing Guidelines

Read the contributing guidelines here

Current Tags

  • 1.1.2                                ...           latest (2 years ago)

6 Versions

  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |