Joined October 2018
·

iamdanielcassil

software at Oracle
·
·

Formatting was messed up, trying again
javascript console.groupCollapsed('name for trace', 'additional data to show');javascript
console.log('data to hide in the collapsed group');
javascript console.trace(); // trace to hide in groupjavascript
console.groupEnd();
```
That produces something like
Inline-style:
alt text

This was driving me crazy, and console.error makes it hard to see real errors if there are lots of trace logs. so after a lot of messing around I came up with this.
javascript console.groupCollapsed('name for trace', 'additional data to show'); console.log('data to hide in the collapsed group'); console.trace(); // trace to hide in group console.groupEnd();
That produces something like

https://ucf83efca8a493fc687933df92eb.previews.dropboxusercontent.com/p/thumb/AAPE3yg6i7p9qwp1SxjSkX369x6o87CGxbgsNN4O674lxb0y1qTXsZwFTBcgPFIiToN8RawPNG-zMB5HkcHJAUgEPhBVtrsvq9aT3Xu5B2qpPlZhvG8VNUZ-XQT-u97NmvffemLpxiZeQuGLfeUEc6wRpdISY5dglk_yChnM1mDCJREi0Q5y3LR9qF1PulsEdegdJOvhdBCZrF7yYNiPyAeCP8ycEGZARlZn6iJ_1A560sFeaeg_PeWMG-qK8VPWh1w/p.png?size=800x600&size_mode=3

Achievements
1 Karma
0 Total ProTip Views
Interests & Skills