EurekaLog
Menu

EurekaLog 7 Manual

IEurekaLoggerParams.C

Completes logging of function call (collapsed version).

Unit

ELogging

Syntax

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

procedure DoSomething;
begin
ELogEnter('DoSomething').D;

// your code
end;
procedure TObject.DoSomething;
begin
ELogEnter(Self, 'DoSomething').D;

// your code
end;
procedure TObject.DoSomething(const AValue: Integer);
begin
ELogEnter(Self, 'DoSomething').P('AValue', AValue).D;

// your code
end;
procedure TObject.DoSomething(const AMsg: String; const AValue: Integer);
begin
ELogEnter(Self, 'DoSomething').P('AMsg', AMsg).P('AValue', AValue).D;

// your code
end;
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: 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_C