PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts/ICustom­Activity­Logging­Context
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 = 4802544203169038370L)]
[HasConstraint]
public interface ICustomActivityLoggingContext : ILoggingContext

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.