nsIConsoleAPIStorage
Methods
getEvents(aId)
Get the events array by inner window ID or all events from all windows.
Parameters
string |
[aId]
Optional, the inner window ID for which you want to get the array of
cached events.
|
Returns
array
The array of cached events for the given window. If no |aId| is
given this function returns all of the cached events, from any
window.
|
recordEvent(aId, aEvent)
Record an event associated with the given window ID.
Parameters
string |
aId
The ID of the inner window for which the event occurred or "jsm" for
messages logged from JavaScript modules..
|
object |
aEvent
A JavaScript object you want to store.
|
clearEvents(aId)
Clear storage data for the given window.
Parameters
string |
[aId]
Optional, the inner window ID for which you want to clear the
messages. If this is not specified all of the cached messages are
cleared, from all window objects.
|