2.0.2 • Published 5 years ago
debug-deluxe v2.0.2
Debug Deluxe
This is a drop-in replacement for the excellent debug
module. It extends that module so that other
console methods can be applied (in addition to log
), using the same filters.
The following methods are added:
assert
clear
count
group
groupCollapsed
groupEnd
table
time
timeEnd
Usage
import { debug } from 'debug-deluxe'
const log = debug('example:demo')
log.group('window methods')
for (const k in window) {
log(k)
}
log.groupEnd()