| InternalLoggerErrorTArgument1, TArgument2 Method (String, TArgument1, TArgument2) |
Logs the specified message without an Exception at the Trace level.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static void Error<TArgument1, TArgument2>(
string message,
TArgument1 arg0,
TArgument2 arg1
)
Public Shared Sub Error(Of TArgument1, TArgument2) (
message As String,
arg0 As TArgument1,
arg1 As TArgument2
)
Dim message As String
Dim arg0 As TArgument1
Dim arg1 As TArgument2
InternalLogger.Error(message, arg0, arg1)
static member Error :
message : string *
arg0 : 'TArgument1 *
arg1 : 'TArgument2 -> unit
Parameters
- message
- Type: SystemString
Message which may include positional parameters. - arg0
- Type: TArgument1
Argument {0} to the message. - arg1
- Type: TArgument2
Argument {1} to the message.
Type Parameters
- TArgument1
- The type of the first argument.
- TArgument2
- The type of the second argument.
See Also