EurekaLog
Menu

EurekaLog 7 Manual

IEurekaLoggerParams.Ret

Logs return value.

Unit

ELogging

Syntax

public
procedure Ret(
const AResult: String
); overload;

procedure Ret(
const AResult: Integer
); overload;

procedure Ret(
const AResult: Cardinal
); overload;

procedure Ret(
const AResult: Int64
); overload;

procedure Ret(
const AResult: System.UInt64
); overload;

procedure Ret(
const AResult: TObject
); overload;

procedure Ret(
const AResult: TResponse
); overload;

procedure Ret(
const AResult: Boolean
); overload;

procedure Ret(
const AResult: TDateTime
); overload;

procedure Ret;
overload;

Parameters

AResult [in]

Value of Result variable.

Remarks

Use this method to log return value of the sub-routine.

Examples

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: 2026-10-21
Last edited: 2026-10-21
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_Ret