#1 2016-06-27 03:48:36

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

[fixed] Log indentation?

Hello Arnaud,

What's your option on log indentation? That'll be useful for logging tasks with sub-tasks, for example:

Start long task A.
  sub task a1...
  sub task a2...
    sub-sub-task a20001
    sub-sub-task a20002
    sub-sub-task a20003
    .....
  sub task a3...
  sub task a4...
End log task A.
Start long task B...

Last edited by edwinsn (2016-06-27 11:45:31)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2016-06-27 06:07:52

edwinsn
Member
Registered: 2010-07-02
Posts: 1,218

Re: [fixed] Log indentation?

The TSynLog.Enter() method sounds like a good option for this purpose!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB