Language

Context<TActivity>.Log Property

Definition

Caution

Use a standard Microsoft.Extensions.Logging ILogger obtained via dependency injection instead.

Gets the backward-compatible logger for this context, providing .Info(), .Error(), .Debug(), and .Warn() convenience methods that delegate to the underlying ILogger.

[System.Obsolete("Use a standard Microsoft.Extensions.Logging ILogger obtained via dependency injection instead.")]
public Microsoft.Teams.Apps.ContextLogger Log { get; }
[<System.Obsolete("Use a standard Microsoft.Extensions.Logging ILogger obtained via dependency injection instead.")>]
member this.Log : Microsoft.Teams.Apps.ContextLogger
Public ReadOnly Property Log As ContextLogger

Property Value

Attributes

Applies to