Lines Matching full:logs
18 * An empty log. It is appended to a logs table when there are no logs (for
59 * Returns UMA logs data (with their proto) as a JSON string. Used when
60 * exporting UMA logs data. Returns a promise.
82 'List of all UMA logs closed since browser startup.' :
83 'List of UMA logs closed since opening this page. Starting the browser \
84 with the --export-uma-logs-to-file command line flag will instead show \
85 all logs closed since browser startup.';
92 // shows only the logs since the page was opened. We don't want to allow
93 // the current page to be navigated away from lest useful logs be lost.
97 with the exported logs.';
103 // Set up a listener for UMA logs. Also update UMA log data immediately in
104 // case there are logs that we already have data on.
109 // Set up the UMA "Export logs" button.
110 const exportUmaLogsButton = this.getRequiredElement('#export-uma-logs');
215 * Fills the passed table element with the given logs.
217 private updateLogsTable_(tableBody: HTMLElement, logs: Log[]): void {
224 // Iterate through the logs in reverse order so that the most recent log
226 for (const log of logs.slice(0).reverse()) {
267 * Fetches the latest UMA logs and renders them. This is called when the page
273 const logs: LogData = JSON.parse(logsData); constant
274 // If there are no logs, append an empty log. This is purely for aesthetic
276 if (!logs.logs.length) {
277 logs.logs = [EMPTY_LOG];
283 const umaLogsTableBody = this.getRequiredElement('#uma-logs-body');
284 this.updateLogsTable_(umaLogsTableBody, logs.logs);
288 * Exports the accumulated UMA logs, including their proto data, as a JSON