You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the old ls-api, in order to log customized log messages, I just needed to implement MessageTracer for onError, onRead and onWrite. But in the new Launcher class, everything is pretty tightly coupled.
Is there a clean way I can customize the behaviors when receiving/sending messages?
The text was updated successfully, but these errors were encountered:
Yes, incoming messages are consumed through MessageConsumer, outgoing are through MessageProducer. You need to implement a logging version of them that delegate to the real implementation and install them into the chain.
In the old ls-api, in order to log customized log messages, I just needed to implement
MessageTracer
foronError
,onRead
andonWrite
. But in the newLauncher
class, everything is pretty tightly coupled.Is there a clean way I can customize the behaviors when receiving/sending messages?
The text was updated successfully, but these errors were encountered: