IDiagnosticsLevel interface

NOTE: This API is now obsolete.

Fornece uma interface através da qual os desenvolvedores podem expor uma categoria de log de rastreamento único para atribuir para rastrear mensagens de log para um determinado aplicativo.

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

Syntax

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

Ver também

Referência

IDiagnosticsLevel members

Microsoft.SharePoint.Administration namespace

Outros recursos

Trace Logs

Trace Log Categories

Writing to the Trace Log

Trace Log Example