LoggingCallbackOnMessage Method |
This function will be called whenever a new log is
generated with a level above the threshold provided during
registration.
Namespace:
Bloomberglp.Blpapi
Assembly:
Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.23.1.1
Syntax void OnMessage(
long threadId,
TraceLevel level,
Datetime dateTime,
string loggerName,
string message
)
Sub OnMessage (
threadId As Long,
level As TraceLevel,
dateTime As Datetime,
loggerName As String,
message As String
)
void OnMessage(
long long threadId,
TraceLevel level,
Datetime^ dateTime,
String^ loggerName,
String^ message
)
abstract OnMessage :
threadId : int64 *
level : TraceLevel *
dateTime : Datetime *
loggerName : string *
message : string -> unit
Parameters
- threadId
- Type: SystemInt64
The id of thread that generated the log
message. - level
- Type: System.DiagnosticsTraceLevel
The level of logging. - dateTime
- Type: Bloomberglp.BlpapiDatetime
The date and time the message was generated. - loggerName
- Type: SystemString
The logger name. - message
- Type: SystemString
The log message.
See Also