|
125 | 125 | :class="{ 'disabled-link': !stateConnected || !stateProcessing, 'no-margin-left': $device.ios }"
|
126 | 126 | @click="loggingPause" />
|
127 | 127 | <f7-link icon-ios="f7:stop_fill" icon-aurora="f7:stop_fill" icon-md="material:stop_fill"
|
128 |
| - :icon-color="!stateConnected ? 'gray' : ''" |
129 |
| - :tooltip="!$device.ios ? 'Stop receiving logs' : ''" |
130 |
| - :class="{ 'disabled-link': !stateConnected, 'no-margin-left': $device.ios }" |
131 |
| - @click="loggingStop" /> |
| 128 | + :icon-color="!stateConnected ? 'gray' : ''" :tooltip="!$device.ios ? 'Stop receiving logs' : ''" |
| 129 | + :class="{ 'disabled-link': !stateConnected, 'no-margin-left': $device.ios }" @click="loggingStop" /> |
132 | 130 | </f7-nav-right>
|
133 | 131 |
|
134 | 132 | <f7-subnavbar :inner="false" style="padding-right: var(--f7-safe-area-right)">
|
|
158 | 156 | :class="{ 'disabled-link': filterCount == 0 }" @click="downloadCSV" />
|
159 | 157 | <f7-link icon-f7="rectangle_on_rectangle" tooltip="Copy filtered log to clipboard"
|
160 | 158 | :class="{ 'disabled-link': filterCount == 0 }" @click="copyTableToClipboard" />
|
161 |
| - <f7-link icon-f7="trash" tooltip="Clear the log buffer" |
162 |
| - :class="{ 'disabled-link': tableData.length == 0 }" @click="clearLog" /> |
| 159 | + <f7-link icon-f7="trash" tooltip="Clear the log buffer" :class="{ 'disabled-link': tableData.length == 0 }" |
| 160 | + @click="clearLog" /> |
163 | 161 | <f7-link @click="toggleErrorDisplay" tooltip="Always show error level logs">
|
164 | 162 | <f7-icon v-if="showErrors" f7="exclamationmark_triangle_fill" />
|
165 | 163 | <f7-icon v-else f7="exclamationmark_triangle" />
|
|
220 | 218 | table-layout auto
|
221 | 219 |
|
222 | 220 | td.nowrap
|
223 |
| - padding 5px |
| 221 | + padding 0px |
224 | 222 | text-align left
|
225 | 223 | white-space nowrap
|
226 | 224 |
|
|
233 | 231 |
|
234 | 232 | tr.table-rows
|
235 | 233 | height 31px
|
| 234 | + vertical-align top |
236 | 235 |
|
237 | 236 | tr.error
|
238 | 237 | background-color rgb(255, 96, 96)
|
@@ -486,7 +485,7 @@ export default {
|
486 | 485 | milliseconds: ms,
|
487 | 486 | level: logEntry.level.toUpperCase(),
|
488 | 487 | loggerName: logEntry.loggerName,
|
489 |
| - message: logEntry.message |
| 488 | + message: logEntry.message.replace(/\n/g, '<br>') |
490 | 489 | }
|
491 | 490 |
|
492 | 491 | this.batchLogs.push(entry)
|
|
0 commit comments