Versions in this module Expand all Collapse all v1 v1.24.5 Aug 14, 2025 Changes in this version + var GetManager = sync.OnceValue(func() *Manager { ... }) + type Manager struct + func (m *Manager) GetLogRecorder() MsgRecorder + func (m *Manager) GetTraceRecorder() MsgRecorder + type MsgRecord struct + Content string + Time time.Time + type MsgRecorder interface + GetRecords func() []*MsgRecord + Record func(content string) + func NewMsgRecorder(limit int) MsgRecorder