@@ -230,6 +228,8 @@
color black
background #f1f1f1
z-index 1
+ white-space nowrap
+ overflow hidden
tr.table-rows
height 31px
@@ -449,7 +449,25 @@ export default {
renderEntry (entity) {
let tr = document.createElement('tr')
tr.className = 'table-rows ' + entity.level.toLowerCase()
- tr.innerHTML = `${entity.time}${entity.milliseconds} | ` +
+ let icon = 'question_diamond'
+ switch (entity.level) {
+ case 'TRACE':
+ icon = 'line_horizontal_3'
+ break
+ case 'DEBUG':
+ icon = 'ant'
+ break
+ case 'INFO':
+ icon = 'info_circle'
+ break
+ case 'WARN':
+ icon = 'flag'
+ break
+ case 'ERROR':
+ icon = 'exclamationmark_octagon_fill'
+ break
+ }
+ tr.innerHTML = '' + icon + ` ${entity.time}${entity.milliseconds} | ` +
`${entity.level} | ` +
`${entity.loggerName} | ` +
`${this.highlightText(entity.message)} | `