MetalamaAPI documentationFlashtrace APIFlashtraceIFlashtrace­Local­Logger
Open sandboxFocus

IFlashtraceLocalLogger Interface

Abstraction of logging methods where the context has already been resolved.

Namespace: Flashtrace
Assembly: Flashtrace.dll
public interface IFlashtraceLocalLogger : IFlashtraceExceptionHandler


Name Description
GetRecordBuilder(in LogRecordOptions, in CallerInfo, ILoggingContext)

Gets a record builder.


Determines whether logging is enabled for a given FlashtraceLevel.

OpenActivity(in OpenActivityOptions, in CallerInfo, Boolean)

Opens a new context for an activity.

ResumeActivity(ILoggingContext, in CallerInfo)

Resumes an asynchronous activity suspended by the SuspendActivity(ILoggingContext, in CallerInfo) method.

SetWaitDependency(ILoggingContext, Object)

Sets the wait dependency for a given context, i.e. give information about what the given context is waiting (or awaiting) for.

SuspendActivity(ILoggingContext, in CallerInfo)

Suspends an asynchronous activity, which can then be resumed by the ResumeActivity(ILoggingContext, in CallerInfo) method.