Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BitflagChoice ¶
type BitflagFormatter ¶
type BitflagFormatter struct { Choices []BitflagChoice Flags []BitflagValue }
func (*BitflagFormatter) Format ¶
func (f *BitflagFormatter) Format(value int) string
type BitflagValue ¶
type Log ¶
type Log struct { Index int `json:"-"` Time time.Time `json:"time"` Level slog.Level `json:"level"` Msg string `json:"msg"` Source *Stackframe `json:"source"` Step int `json:"step"` RelatedStep int `json:"relatedStep"` Stackframes []*Stackframe `json:"stackframes"` Machine string `json:"machine"` Goroutine int `json:"goroutine"` TraceKind string `json:"traceKind"` Unknown []UnknownField `json:"-"` // for extra fields }
func (*Log) UnmarshalJSON ¶
type Stackframe ¶
type UnknownField ¶
Click to show internal directories.
Click to hide internal directories.