Attributes | Name and Description |
---|---|
|
caplin.core.log.LogStoreService()
This represents an interface, and should not normally be constructed. |
Attributes | Name and Description |
---|---|
|
Number
addListener(function callback)
Adds a listener the that will be notified if the stored contents changes. |
|
void
clear()
Clears all stored log records. |
|
Array
getAllLogRecords()
Retrieves all stored log records. |
|
caplin.core.log.LogRecord
getLogRecord(Number n)
Retrieves a stored log record. |
|
Number
getSize()
|
|
void
removeListener(Number id)
Adds a listener the that will be notified if the stored contents changes. |
►
caplin.core.log.LogStoreService()
This represents an interface, and should not normally be constructed.
►
Number
addListener(function callback)
Adds a listener the that will be notified if the stored contents changes.
function | callback | The function that will be called on any changes. |
►
void
clear()
Clears all stored log records.
►
Array
getAllLogRecords()
Retrieves all stored log records.
►
caplin.core.log.LogRecord
getLogRecord(Number n)
Retrieves a stored log record.
Number | n | the index of the log record to be retreived. |
►
Number
getSize()
►
void
removeListener(Number id)
Adds a listener the that will be notified if the stored contents changes.
Number | id | The id of the listener to be removed (see caplin.core.log.LogStoreService.prototype.addListener). |