mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-04-24 14:25:00 +00:00
New example with basic loggers
This commit is contained in:
parent
a7716c0f41
commit
13f7eba5db
1 changed files with 13 additions and 0 deletions
13
examples/basic.js
Normal file
13
examples/basic.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
/*jshint -W079 */
|
||||
|
||||
require('../scribe')(); //loads Scribe
|
||||
|
||||
var console = process.console;
|
||||
|
||||
console.log("Console log");
|
||||
console.info("Console info");
|
||||
console.error("Console error");
|
||||
console.warning("Console warning");
|
||||
console.dir({
|
||||
foo : 'bar'
|
||||
});
|
Loading…
Add table
Reference in a new issue