Logs argument.
Unit
ELogging
Syntax
Parameters
AName
Name of the argument as it appears in source code.
AValue
Value of the argument.
Return value
Returns log entry with created new argument. This value could be used to add more arguments, to close function call, or to log Result.
Remarks
Use this method to log one or more arguments to sub-routine.
Important!
|
You have to call either D or C method on the returned IEurekaLoggerParams interface. Otherwise nested log entries may have wrong identation in the resulting log file.
|
Examples
Code (Delphi)
|
function Test(const AIndex: Integer; const ASpecifier: String): Integer;
var
L: IEurekaLoggerParams;
begin
L := ELogEnter('Test').
P('AIndex', AIndex).
P('ASpecifier', ASpecifier).
D;
// your code
L.Ret(Result);
end;
|
See also
Send feedback...
|
Build date: 2023-09-11
Last edited: 2023-09-11
|
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_method_elogging_ieurekaloggerparams_p.php
|
|