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

使用给定的日志级别记录给定格式的邮件

命名空间:  Microsoft.SharePoint.Upgrade
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
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
)

参数

  • format
    类型:System.String

    要记录的消息的格式字符串

  • args
    类型:[]

    格式参数

另请参阅

引用

SPLog 类

SPLog 成员

WriteLogTag 重载

Microsoft.SharePoint.Upgrade 命名空间