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

Method IEurekaLoggerParams.C

Previous pageReturn to chapter overviewNext page   

Completes logging of function call (collapsed version).

 

Unit

ELogging

 

Syntax

 

Code (Delphi)

public

function C: IEurekaLoggerParams;

 

Return value

Returns log entry. This value could be used to log Result.

 

Remarks

Same as D method, except function call will appear collapsed in the log.

 

Examples

 

Code (Delphi)

procedure DoSomething;

begin

ELogEnter('DoSomething').D;

 

// your code

end;

 

Code (Delphi)

procedure TObject.DoSomething;

begin

ELogEnter(Self, 'DoSomething').D;

 

// your code

end;

 

Code (Delphi)

procedure TObject.DoSomething(const AValue: Integer);

begin

ELogEnter(Self, 'DoSomething').P('AValue', AValue).D;

 

// your code

end;

 

Code (Delphi)

procedure TObject.DoSomething(const AMsg: String; const AValue: Integer);

begin

ELogEnter(Self, 'DoSomething').P('AMsg', AMsg).P('AValue', AValue).D;

 

// your code

end;

 

Code (Delphi)

function TObject.DoSomething(const AValue: Integer): Integer;

var

L: IEurekaLoggerParams;

begin

L := ELogEnter(Self, 'DoSomething').P('AValue', AValue).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_c.php