Table of Contents

Interface ILogCall

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

A log object used to log the activity of a specific function call. It is usually created in the beginning of the call and closed on various return calls or at the end of the function.

Note that most of the methods used to complete a call are extension methods.

[PublicApi]
public interface ILogCall : ILog
Inherited Members
Extension Methods

Remarks

Normal code will never create this object, but get such an object when calling ILog.Fn(...) extensions ILogExtensions.

Properties

Entry

The main log-entry for this call, which will also receive the final value at the end of the call.

Entry Entry { get; }

Property Value

Entry

Log

Reference to the parent log.

ILog Log { get; }

Property Value

ILog

Timer

A stopwatch object which is used for timing purposes on this call.

Stopwatch Timer { get; }

Property Value

Stopwatch