O
Olivia Dou
Hi,
I want to use log4r to generate xml formatted log file, but I'm not
familiar with it and thus have no idea how to do.
In my program, there's some log output in each function, and I want
the xml log file similar to this(there's function stack here--Func1
calls Func2 and Func2 calls Func3):
<FuncName1>
<log>log text1</log>
<FuncName2>
<log>log text2</log>
<FuncName3>
<log>log text3</log>
</FuncName3>
</FuncName2>
</FuncName1>
Is it possible to do this?
Thanks
I want to use log4r to generate xml formatted log file, but I'm not
familiar with it and thus have no idea how to do.
In my program, there's some log output in each function, and I want
the xml log file similar to this(there's function stack here--Func1
calls Func2 and Func2 calls Func3):
<FuncName1>
<log>log text1</log>
<FuncName2>
<log>log text2</log>
<FuncName3>
<log>log text3</log>
</FuncName3>
</FuncName2>
</FuncName1>
Is it possible to do this?
Thanks