Open sandboxFocus

Interface ICustomActivityLoggingContext

An ILoggingContext that represents a custom activity (LogActivity).

Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[InternalImplement(AttributeId = 4802544203169038370)]
public interface ICustomActivityLoggingContext : ILoggingContext, IDisposable

Properties

Name Description
CustomActivityKind

Gets the kind of LogActivity represented by the current context.

StartTimestamp

Gets the timestamp (given by CurrentTimestamp) of the moment when the activity started.