Hi I need a good logic as to how implement indentation in my log file that i am creating for my application.
Suppose I have three functions like M1,M2,M3 and M2 is called from M1 and M3 from M2
Now in my log file I want something like this
Can anyone help me with some logic. I guess i have to deal with spacesCode:>>>M1 >>>M2 >>>M3 <<<M3 <<<M2 <<<M1