Compartilhar via


IFormatterLogger.LogError Method (String, String)

Logs an error.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Sub LogError ( _
    errorPath As String, _
    errorMessage As String _
)
'Usage
Dim instance As IFormatterLogger 
Dim errorPath As String 
Dim errorMessage As String

instance.LogError(errorPath, errorMessage)
void LogError(
    string errorPath,
    string errorMessage
)
void LogError(
    String^ errorPath, 
    String^ errorMessage
)
abstract LogError : 
        errorPath:string * 
        errorMessage:string -> unit
function LogError(
    errorPath : String, 
    errorMessage : String
)

Parameters

  • errorPath
    Type: System.String

    The path to the member for which the error is being logged.

  • errorMessage
    Type: System.String

    The error message to be logged.

See Also

Reference

IFormatterLogger Interface

LogError Overload

System.Net.Http.Formatting Namespace