mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(logs): show full log event (#1096)
* feat(logs): show all extra fields in UI * feat(logs): init log level as debug then trace
This commit is contained in:
parent
7b77ff766e
commit
cbf668e87c
6 changed files with 448 additions and 88 deletions
|
@ -59,7 +59,7 @@ func main() {
|
|||
serverEvents.CreateStreamWithOpts("logs", sse.StreamOpts{MaxEntries: 1000, AutoReplay: true})
|
||||
|
||||
// register SSE hook on logger
|
||||
log.RegisterSSEHook(serverEvents)
|
||||
log.RegisterSSEWriter(serverEvents)
|
||||
|
||||
// setup internal eventbus
|
||||
bus := EventBus.New()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue