@koober/log
v1.0.0-rc.54
Published
Logging library
Downloads
7
Readme
Koober Logging Library (@koober/log)
Logging library
Installation
npm install @koober/log
Usage
import { log, debug, critical } from '@koober/log';
// Example of data to log
const foo = { bar: 'baz' };
log(critical`This is really bad ${{ foo }}`); // > This is really bad { bar: 'baz' }
log(debug`Some Debug ${{ hey: 'debug info' }}`); // > This is really bad "debug info"
License
MIT © Julien Polo [email protected]