|
virtual |
To set the current method.
Using this method one can use indentation. After being cleared the message starts with not indentation. Once SetProcessMethod is called, a ticket is open start with the line which means ticket #5, state |info,verbose=0| open for ProcessName TestLOG_3 into ProcessMethod ToLog_3, corresponding to address 0x7fff5fbd9f28
Each time a SetProcessMethod is called, the indentation is increased ... while a call of dolog decreases it. Once the log ticket is closed (same number of calls of SetProcessMethod / dolog), the message is sent to the central log. Using this, the ouput reflects the successive calls of methods inside methods. See for instance:
which is part of the output of the demos macro TestLOG.C
Definition at line 171 of file ADFLogMessage.cpp.