Class finesse.cslogger.ClientLogger
Allows gadgets to call the log function to publish client logging messages over the hub.
Defined in: ClientLogger.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
finesse.cslogger.ClientLogger.init(hub, gadgetId)
Initiates the client logger with a hub and a gadgetId
|
<static> |
finesse.cslogger.ClientLogger.log(message)
Publishes a Log Message over the hub.
|
Method Detail
<static>
finesse.cslogger.ClientLogger.init(hub, gadgetId)
Initiates the client logger with a hub and a gadgetId
- Parameters:
- {Object} hub
- the hub to communicate with
- {Object} gadgetId
- a unique string to identify which gadget is doing the logging
<static>
finesse.cslogger.ClientLogger.log(message)
Publishes a Log Message over the hub.
- Parameters:
- {String} message
- The string to log.