Closed ArrayZoneYour closed 5 years ago
Issue source: https://github.com/rangle/redux-beacon/issues/147
HOW ABOUT
if (!console.group) {
let groups = []
let hr = '-'.repeat(80)
console.group = function logGroupStart(label) {
groups.push(label)
console.log('%c \nBEGIN GROUP: %c', hr, label)
}
console.groupEnd = function logGroupEnd() {
console.log('END GROUP: %c\n%c', groups.pop(), hr)
}
}
good job