LogActivity Constructor |
Initializes a new LogActivity.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public LogActivity( ILogger logger, ILoggingContext context )
Parameters
- logger
- Type: PostSharp.Patterns.Diagnostics.Custom.ILogger
The underlying ILogger. - context
- Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
The ILoggingContext implementing the new LogActivity.