2.2.0 • Published 11 years ago

extended-console v2.2.0

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

extended-console

Extends default console logging with various utilities.

Features

  • Prepend timestamp to output using strftime
  • ...more to come!

Usage

require('extended-console');

console.log('Log away!');
console.extended.timestampFormat = '%B %d, %Y %H:%M:%S -';
console.log('This is a test');

Options

Options are located in the console.extended object.

  • showTimestamp (boolean) Whether to prepend a timestamp to output
  • timestampFormat (string) Format for timestamp. Uses strftime

License

MIT (see included LICENSE)

2.2.0

11 years ago

2.1.1

11 years ago

2.1.0

11 years ago

0.2.0

11 years ago

0.1.1

12 years ago

0.1.0

12 years ago