SPLog.WriteLogTag-Methode (UInt32, String, Exception, LogLevel)
Kurzform von [WriteLog(stringmessage,LogLevellevel)]. Protokolliert die Nachricht und die Stapelüberwachung der Ausnahme als Nachricht.
Namespace: Microsoft.SharePoint.Upgrade
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub WriteLogTag ( _
tagID As UInteger, _
output As String, _
exception As Exception, _
level As LogLevel _
)
'Usage
Dim instance As SPLog
Dim tagID As UInteger
Dim output As String
Dim exception As Exception
Dim level As LogLevel
instance.WriteLogTag(tagID, output, exception, _
level)
public void WriteLogTag(
uint tagID,
string output,
Exception exception,
LogLevel level
)
Parameter
tagID
Typ: System.UInt32Tag für die Nachricht.
output
Typ: System.StringDie zu protokollierende Meldung.
exception
Typ: System.ExceptionDie Ausnahme, deren Stapelüberwachung protokolliert werden.
level
Typ: Microsoft.SharePoint.Upgrade.LogLevelGewünschte Protokollebene.