Share via


ApiServices.Log Property

Definition

Gets or sets a System.Web.Http.Tracing.ITraceWriter instance that logs information to the logging system. Log messages can be annotated with a System.Web.Http.Tracing.TraceLevel indicating the severity and a "Category" indicating the origin (i.e. the "source"). It is possible to filter which level and category or categories should be logged using the ConfigOptions when initializing the service.

public virtual System.Web.Http.Tracing.ITraceWriter Log { get; set; }
member this.Log : System.Web.Http.Tracing.ITraceWriter with get, set
Public Overridable Property Log As ITraceWriter

Property Value

System.Web.Http.Tracing.ITraceWriter

Applies to