LogActivity Constructor |
Initializes a new LogActivity.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.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.