logtown-debug
v2.4.5
Published
Logtown wrapper for tj's debug tool
Downloads
12
Maintainers
Readme
logtown-debug
Logtown wrapper for tj's debug tool
Installation
yarn add logtown-debug debug
or
npm install logtown-debug debug
Usage
const logtown = require('logtown');
const DebugWrapper = require('logtown-debug');
logtown.addWrapper(new DebugWrapper());
const logger = logtown.getLogger('my-namespace');
logger.debug('debug me');
ES5 usage
var DebugWrapper = require('logtown-debug/es5');
License
logtown-debug is released under the MIT license.