UNPKG

terse-b

Version:

Bunyan lib that is terse to use.

19 lines (10 loc) 231 B
import { TerseB } from "./terse-b" class C { log:any = new TerseB(this.constructor.name) tst() { this.log.info('oh?') this.log.warn('War!') } } new C().tst() console.log('XXXXXXXXXXXXX')