共用方式為


SPLog.WriteLogTag method (UInt32, String, LogLevel, Object[])

以指定的記錄層級會記錄指定格式化的訊息

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

Syntax

'宣告
Public Sub WriteLogTag ( _
    tagID As UInteger, _
    format As String, _
    level As LogLevel, _
    ParamArray args As Object() _
)
'用途
Dim instance As SPLog
Dim tagID As UInteger
Dim format As String
Dim level As LogLevel
Dim args As Object()

instance.WriteLogTag(tagID, format, level, _
    args)
public void WriteLogTag(
    uint tagID,
    string format,
    LogLevel level,
    params Object[] args
)

參數

  • args
    Type: []

    args 格式

請參閱

參照

SPLog class

SPLog members

WriteLogTag overload

Microsoft.SharePoint.Upgrade namespace