Table of Contents

Interface ILogCall<T>

Namespace
ToSic.Lib.Logging
Assembly
ToSic.Lib.Core.dll

A mini logger for a function call, which should be closed using a form of Return(...) when the function completes.

[PublicApi]
public interface ILogCall<T> : ILogCall, ILog

Type Parameters

T

Type of data to return at the end of the call. Note that you cannot use dynamic for T, so if your result is dynamic, use object

Inherited Members
Extension Methods

Remarks

  1. It's important to note that all Return commands are extension methods.
  2. Certain types such as bool have their own custom Return... commands, such as ReturnFalse()