Share via


IDiagnosticsLevel interface

NOTE: This API is now obsolete.

Provides an interface through which developers can expose a single trace log category to assign to trace log messages for a given application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPDiagnosticsCategory")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface IDiagnosticsLevel
'Usage
Dim instance As IDiagnosticsLevel
[ObsoleteAttribute("Use SPDiagnosticsCategory")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface IDiagnosticsLevel

See also

Reference

IDiagnosticsLevel members

Microsoft.SharePoint.Administration namespace

Other resources

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example