LogError(String,Object[]) Method
A format string with replacement parameters that will be replaced by the args parameters.
Arguments to use in replacing variables in the format string.
Writes a ERROR-level log entry if ERROR-level logging is enabled.
Syntax
'Declaration
Public Overloads Sub LogError( _
ByVal _format_ As String, _
ByVal ParamArray _args_() As Object _
)
public void LogError(
string _format_,
params object\[\] _args_
)
Parameters
format
A format string with replacement parameters that will be replaced by the args parameters.
args
Arguments to use in replacing variables in the format string.
Remarks
If the current logger is not configured for ERROR-level logging or lower, this method will do nothing.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family