forked from mirrors/Scribe.js
Example for default tags
This commit is contained in:
parent
2849d7ca0e
commit
643bfa31c0
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ myConfigConsole.addLogger('fun', ['rainbow', 'inverse', 'black']);
|
|||
|
||||
myConfigConsole.fun('Some rainbow in background !');
|
||||
|
||||
myConfigConsole.addLogger('log');
|
||||
myConfigConsole.addLogger('log', null,
|
||||
{
|
||||
defaultTags : [{msg : 'Default tag', colors: 'cyan'}]
|
||||
}
|
||||
);
|
||||
|
||||
myConfigConsole.tag('A tag', 123).log('custom tags');
|
||||
myConfigConsole.time().log('custom time');
|
||||
|
|
Loading…
Add table
Reference in a new issue