Root > Reference > All Interfaces > IEurekaLoggerParams > Methods > IEurekaLoggerParams.Ret

Method IEurekaLoggerParams.Ret

Previous pageReturn to chapter overviewNext page   

Logs return value.

 

Unit

ELogging

 

Syntax

 

Code (Delphi)

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

 

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: 2024-09-30
Last edited: 2024-09-30
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.php