| LoggerError Method (String, Object) |
Writes the diagnostic message at the Error level using the specified parameters.
Namespace:
NLog
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public void Error(
string message,
params Object[] args
)
Public Sub Error (
message As String,
ParamArray args As Object()
)
Dim instance As Logger
Dim message As String
Dim args As Object()
instance.Error(message, args)
abstract Error :
message : string *
args : Object[] -> unit
override Error :
message : string *
args : Object[] -> unit
Parameters
- message
- Type: SystemString
A string containing format items. - args
- Type: SystemObject
Arguments to format.
Implements
ILoggerError(String, Object)See Also