mirror of
https://github.com/mathew-kurian/Scribe.js
synced 2025-09-02 06:51:27 +00:00
Update README.md
This commit is contained in:
parent
3338572df3
commit
a162356788
1 changed files with 3 additions and 3 deletions
|
@ -59,7 +59,7 @@ npm install callsite
|
||||||
5. Logging with Scribe
|
5. Logging with Scribe
|
||||||
----
|
----
|
||||||
```js
|
```js
|
||||||
var scribe = require('./libs/scribe');
|
var scribe = require('./scribe');
|
||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
// --------------
|
// --------------
|
||||||
|
@ -79,8 +79,8 @@ scribe.configure(function(){
|
||||||
|
|
||||||
// Create Loggers
|
// Create Loggers
|
||||||
// --------------
|
// --------------
|
||||||
scribe.addLogger("log", true , true, 'green'); // name, save to file, print to console, tag color
|
scribe.addLogger("log", true , true, 'green'); // (name, save to file, print to console,
|
||||||
scribe.addLogger('realtime', true, true, 'underline');
|
scribe.addLogger('realtime', true, true, 'underline'); // tag color)
|
||||||
scribe.addLogger('high', true, true, 'magenta');
|
scribe.addLogger('high', true, true, 'magenta');
|
||||||
scribe.addLogger('normal', true, true, 'white');
|
scribe.addLogger('normal', true, true, 'white');
|
||||||
scribe.addLogger('low', true, true, 'grey');
|
scribe.addLogger('low', true, true, 'grey');
|
||||||
|
|
Loading…
Add table
Reference in a new issue