IExtensionLoggerLogMessage Method (LogLevel, String, Int32, String) |
Logs a message.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax void LogMessage(
LogLevel level,
string? channel,
int messageId,
string message
)
Sub LogMessage (
level As LogLevel,
channel As String,
messageId As Integer,
message As String
)
void LogMessage(
LogLevel level,
String^ channel,
int messageId,
String^ message
)
abstract LogMessage :
level : LogLevel *
channel : string *
messageId : int *
message : string -> unit
Parameters
- level
- Type: Dundas.BILogLevel
The detail level of the message. - 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.
Implements
ILoggerLogMessage(LogLevel, String, Int32, String)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