Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6212

How can I group all console.log messages of a Typescript class

$
0
0

I want to group all console.log messages of a particular class with classname as an group identifier.

I should see all console.log message of that class grouped under its name

For Eg, I have class A and class B

class A calls class B's operation1 and the A calls operation2 and then it calls operation2 on class B and then it calls operation4 on A. My console should group it like that

A  operation2   operation4B   operations  operation3

Viewing all articles
Browse latest Browse all 6212

Trending Articles