Caplin Trader 4.5.2

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 proxy = require("service!caplin.event-service").getProxy(
		"caplin.workbench.model.WorkbenchEventListener",
		"caplin.workbench"
		require("caplin/workbench/model/WorkbenchEventListener")
	);
 proxy.logEvent("OpenAck", "receive", {"TradeID" : "1234", "AskPrice": "1.123"});
Implements: