add err and stack to log

nats
Paulo Simão 2021-10-11 14:58:09 -03:00
parent 8fb8bb502e
commit 53a53bd1ca
1 changed files with 2 additions and 0 deletions

View File

@ -206,6 +206,8 @@ type Log struct {
Tags string Tags string
Dtlog time.Time Dtlog time.Time
Data []byte Data []byte
Err string
Stack []byte
} }
type LogQuery struct { type LogQuery struct {
From time.Time `json:"from"` From time.Time `json:"from"`