Join 34,000+ subscribers and receive articles from our
blog about software quality, testing, QA and security.

Reset log message's indentation


#1

Hi,

I’m using SmartInspect 3.2 for Delpi 2009. I used a lot LogEntry, every time when I use LogEntry SI will indent the message. In some situation AV happen and restart SI will start from last indent position. After a while it’s very hard to see the log message.

For example:
Logmessage xxxxxxxxxx
LogEntry1
LogEntry2
LogEntry3


LogEntry100
AV happen restart SI will start from last indentation
Logmessage xxxxx

Just want to know how can restart the indetation. An example would be great.

Thanks


#2

Hello,

You can reset the method indentation in the Console via ‘Edit | Reset Call Stack’ or by adding a call to SiMain.ResetCallstack at the beginning of your application. This resets the call stack and tree indentation.

Regards,
Tobias