PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsICustom­Activity­Logging­Context
Open sandboxFocus

ICustomActivityLoggingContext Interface

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.