Regarding the logging of the EMA SDK, is there a way to capture the logging and put in our own format. See below from the example showed.
Client notice they can implement the IOmmConsumerErrorClient, this has three methods that you can override OnInvalidHandler, OnOnvalidUsage and OnDisaptch. When Client simulate a network outage locally None of these methods are trigger only the console output. How do Client handle this and capture these events which are outputted to the console (see below for examples)
WARN|: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
Channel is null
Error Id SUCCESS
Internal sysError 0
Error Location Reactor.ProcessReactorEventImpl
Error text Reconnection failed: Failed REST request for the service discovery. Text: One or more errors occurred. (No such host is known. (api.refinitiv.com:443)) Client channel has connection attempts left
loggerMsgEnd
WARN|: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning Text: Received Channel warning event on channel Channel_4
Instance Name Consumer_4_1
Channel is null
Error Id SUCCESS
Internal sysError 0
Error Location ReactorTokenSession.RestErrorCallback
Error text Failed REST request for the service discovery. Text: One or more errors occurred. (No such host is known. (api.refinitiv.com:443))
loggerMsgEnd
WARN|: loggerMsg
ClientName: ChannelCallbackClient
Severity: Warning Text: Received ChannelDownReconnecting event on channel Channel_4
Instance Name Consumer_4_1
Channel is null
Error Id SUCCESS
Internal sysError 0
Error Location Reactor.ProcessReactorEventImpl
Error text Reconnection failed: Failed REST request for the service discovery. Text: One or more errors occurred. (No such host is known. (api.refinitiv.com:443)) Client channel has connection attempts left
loggerMsgEnd