You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just recently started using Delphi.
Coming from a Java background, I definitely missed a decent logging framework, so I'm very glad you created LoggerPro. Thank you for your effort!
I was wondering if LoggerPro might support (in future editions) some kind of automatic nested exception unwinding (e.g. just passing the error object instead of a message). This way chained exceptions could be traced also.
Kind regards
The text was updated successfully, but these errors were encountered:
For now I implemented it externally in the following fashion:
try
// some stuff...
except
on E: Exception do
begin
var msg: string := E.Message;
var ex: Exception := E.InnerException;
while ex.InnerException <> nil do
begin
msg := msg + sLineBreak + #9 + ex.Message;
ex := ex.InnerException;
end;
Log.Error('Could not process log %s [%s]', [canonicalFileName, msg], LOG_TAG);
end;
end;
Dear Daniel,
I just recently started using Delphi.
Coming from a Java background, I definitely missed a decent logging framework, so I'm very glad you created LoggerPro. Thank you for your effort!
I was wondering if LoggerPro might support (in future editions) some kind of automatic nested exception unwinding (e.g. just passing the error object instead of a message). This way chained exceptions could be traced also.
Kind regards
The text was updated successfully, but these errors were encountered: