darekf77 / ng2-logger

Isomorphic logger for Browser and NodeJS, ( typescript / javascript ) apps
MIT License
61 stars 17 forks source link

Feature: Group #38

Closed danielsogl closed 6 years ago

danielsogl commented 6 years ago

Following the Console Web Api the group functions are missing

console.log("This is the outer level");
console.group();
console.log("Level 2");
console.group();
console.log("Level 3");
console.warn("More of level 3");
console.groupEnd();
console.log("Back to level 2");
console.groupEnd();
console.log("Back to the outer level");
console.groupCollapsed([label]);
console.groupEnd();
darekf77 commented 6 years ago

I would't recommend to group console logs from for anyone.... You can't see what is inside... and probably you should use debugger or more split you code to smaller modules (and apply ng2-logger for each of them).