Closed Bug 888662 Opened 11 years ago Closed 11 years ago

Add support for persistent logs

Categories

(Marketplace Graveyard :: Consumer Pages, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2013-07-04

People

(Reporter: basta, Assigned: basta)

References

Details

(Whiteboard: [qa-])

The log module should be updated to allow for persistent logging in this way:

var persist_console = log.persistent('foo');
var console = log('foo');

Persistent logs should be stored using the storage module. They should be accessible via:

>>> var logs = log.persistent.raw;
>>> logs
{"foo": [...], "bar": [...]}
https://github.com/mozilla/fireplace/commit/2f18517993e7f424a1d5bd30384f6383ce932711
Assignee: nobody → mattbasta
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 2013-07-04
You need to log in before you can comment on or make changes to this bug.