-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
make demo as README instructions:
import {Logger, LoggerFactory} from 'lines-logger';
let factory: LoggerFactory = new LoggerFactory();
let logger: Logger = factory.getLogger('tag');
logger.log('Hello world')(); // pay attention to () in the end. `logger.log` returns a function that should be called, thus `console.log` is called from YOUR location instead of the library.
logger.debug('My array is {}, object is {}', [1,2,3], {1:1, 2:2})();
in Console output, there no time dispaly before tag name.
Metadata
Metadata
Assignees
Labels
No labels