Click or drag to resize
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.24.11.1
Syntax
void OnMessage(
	long threadId,
	TraceLevel level,
	Datetime dateTime,
	string loggerName,
	string message
)

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