Documentation
¶
Overview ¶
Package logging provides the bracket log handler for llm-router: [LEVEL][dd.mm.yyyy h:m:s.ms][key: value] message.
Index ¶
Constants ¶
View Source
const TimeFormat = "02.01.2006 15:04:05.000"
TimeFormat renders record timestamps as dd.mm.yyyy h:m:s.ms.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler formats records as bracket groups. Each attribute renders as its own [key: value] group in call order. Groups flatten with dot separators.
func NewHandler ¶
NewHandler builds a Handler writing to w at level.
Click to show internal directories.
Click to hide internal directories.