Abstraction of logging methods where the context has already been resolved.
Namespace: Flashtrace
Assembly: Flashtrace.dll
Syntax
public interface IFlashtraceLocalLogger : IFlashtraceExceptionHandler
Methods
Name | Description |
---|---|
GetRecordBuilder(in LogRecordOptions, in CallerInfo, ILoggingContext?) | Gets a record builder. |
IsEnabled(FlashtraceLevel) | Determines whether logging is enabled for a given FlashtraceLevel. |
OpenActivity(in OpenActivityOptions, in CallerInfo, bool) | 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. |