Lines Matching full:logs
17 * An empty log. It is appended to a logs table when there are no logs (for
58 * Returns UMA logs data (with their proto) as a JSON string. Used when
59 * exporting UMA logs data. Returns a promise.
79 'List of all UMA logs closed since browser startup.' :
80 'List of UMA logs closed since opening this page. Starting the browser \
81 with the --export-uma-logs-to-file command line flag will instead show \
82 all logs closed since browser startup.';
84 // Set up a listener for UMA logs. Also update UMA log data immediately in
85 // case there are logs that we already have data on.
90 // Set up the UMA "Export logs" button.
91 const exportUmaLogsButton = this.$('#export-uma-logs') as HTMLElement;
170 * Fills the passed table element with the given logs.
172 private updateLogsTable_(tableBody: HTMLElement, logs: Log[]): void {
178 // Iterate through the logs in reverse order so that the most recent log
180 for (const log of logs.slice(0).reverse()) {
221 * Fetches the latest UMA logs and renders them. This is called when the page
227 const logs: LogData = JSON.parse(logsData); constant
228 // If there are no logs, append an empty log. This is purely for aesthetic
230 if (!logs.logs.length) {
231 logs.logs = [EMPTY_LOG];
237 const umaLogsTableBody = this.$('#uma-logs-body') as HTMLElement;
238 this.updateLogsTable_(umaLogsTableBody, logs.logs);
242 * Exports the accumulated UMA logs, including their proto data, as a JSON