Confirmed users
924
edits
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"); | ||
You should see something similar to this being displayed in the Browser Console: | |||
<blockquote> | |||
BackstagePass { Cc: nsXPCComponents_Classes, Ci: nsXPCComponents_Interfaces, Telemetry: XPCWrappedNative_NoHelper, gLogEntries: Array[0], EXPORTED_SYMBOLS: Array[1], TelemetryLog: Object, 26 more… } | |||
</blockquote> | |||
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(); |