Caplin Trader 4.0.3

Class: module:caplin/workbench/ui/WorkbenchEventLogger

module:caplin/workbench/ui/WorkbenchEventLogger

Constructor

new module:caplin/workbench/ui/WorkbenchEventLogger()

Represents a component that can be used to display log events from various systems, by subscribing to the module:caplin/core/event/EventHub. If you wish to publish a message to the WorkbenchEventLogger, use the following:
var oProxy = caplin.core.ServiceRegistry.getService("caplin.event-service").getProxy("caplin.workbench.model.WorkbenchEventListener", "caplin.workbench");
oProxy.logEvent("OpenAck", "receive", {"TradeID" : "1234", "AskPrice": "1.123"});
Implements: