Class Index | File Index

Classes


Class finesse.cslogger.ClientLogger

Allows gadgets to call the log function to publish client logging messages over the hub.
Defined in: finesse.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
init(hub, gadgetId)
Initiates the client logger with a hub and a gadgetId.
 
log(message)
Publishes a Log Message over the hub.
Class Detail
finesse.cslogger.ClientLogger()
Method Detail
init(hub, gadgetId)
Initiates the client logger with a hub and a gadgetId.
var _clientLogger = finesse.cslogger.ClientLogger;
_clientLogger.init(gadgets.Hub, "MyGadgetId");
Parameters:
{Object} hub
The hub to communicate with.
{String} gadgetId
A unique string to identify which gadget is doing the logging.

log(message)
Publishes a Log Message over the hub.
_clientLogger.log("This is some important message for MyGadget");
Parameters:
{String} message
The string to log.

Documentation generated by JsDoc Toolkit 2.3.2 on Wed Jan 08 2014 23:29:56 GMT-0500 (EST)