1.0.3 • Published 9 years ago

loggos v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

#loggos - the simple nodejs logger for your amazing projects!

Nlog is a simple logging library to get you up and running as fast as possible. It features:

  • colored ouput
  • logging to a file and to stdout/stderr
  • asynchronous writing to logfiles, to speed up things

Installation

To use loggos, just do a simple npm install --save loggos.

Examples

var Log = require("loggos");
log = new Log("logfile.log"); 
//By default, loggos will stop writing to stdout, when a logfile is specified.
log.setWriteToConsole(true);

log.info("Tag", "This is an informational message");

For more usage examples, browse the source, I think I have commented enough :)

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago