IExtensionLoggerLogError Method (String, Int32, String, Object) |
Logs a message at the
Error level.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax void LogError(
string? channel,
int messageId,
string message,
params Object?[] arguments
)
Sub LogError (
channel As String,
messageId As Integer,
message As String,
ParamArray arguments As Object()
)
void LogError(
String^ channel,
int messageId,
String^ message,
... array<Object^>^ arguments
)
abstract LogError :
channel : string *
messageId : int *
message : string *
arguments : Object[] -> unit
Parameters
- channel
- Type: SystemString
The log channel. - messageId
- Type: SystemInt32
The identifier of the message (a.k.a "event ID"). - message
- Type: SystemString
A composite format string. - arguments
- Type: SystemObject
An object array that contains zero or more objects to format.
Implements
ILoggerLogError(String, Int32, String, Object)Remarks
This method is guaranteed to never throw an exception. If the parameters are invalid, a message
to that effect will be logged to the operating system's event log.
See Also