QA/Telemetry/Logging: Difference between revisions

Jump to navigation Jump to search
Line 37: Line 37:


Import '''TelemetryLog.jsm''' in the Browser Console using the following command:
Import '''TelemetryLog.jsm''' in the Browser Console using the following command:
* Cu.import("resource://gre/modules/TelemetryLog.jsm");
* '''Cu.import("resource://gre/modules/TelemetryLog.jsm");'''


You should see something similar to this being displayed in the Browser Console:
You should see something similar to the following inside the Browser Console:  


<blockquote>
<blockquote>
Line 46: Line 46:


One you've imported '''TelemetryLog.jsm''', you can retrieve the logs using the following command:
One you've imported '''TelemetryLog.jsm''', you can retrieve the logs using the following command:
* TelemetryLog.entries().toSource();
* '''TelemetryLog.entries().toSource();'''


You should see something similar to the following inside the Browser Console:
You should see something similar to the following inside the Browser Console:
Confirmed users
924

edits

Navigation menu