Versions in this module Expand all Collapse all v1 v1.0.2 Mar 9, 2026 v1.0.1 Mar 9, 2026 Changes in this version + func ClearLogs() + func Disable() + func Enable() + func IsEnabled() bool + func Log(level string, message string, fields map[string]interface{}) + func PrintStats() + func Trace(name string) func() + func WithContext(ctx context.Context) context.Context + type ContextKey struct + type DebugLog struct + Fields map[string]interface{} + Level string + Message string + Timestamp time.Time + func GetLogs() []DebugLog + type Debugger struct + func FromContext(ctx context.Context) *Debugger + func NewDebugger() *Debugger + func (d *Debugger) ClearLogs() + func (d *Debugger) Disable() + func (d *Debugger) Enable() + func (d *Debugger) GetLogs() []DebugLog + func (d *Debugger) IsEnabled() bool + func (d *Debugger) Log(level string, message string, fields map[string]interface{}) + func (d *Debugger) PrintStats() + func (d *Debugger) StartProfile(profileType ProfileType, filename string) (func(), error) + func (d *Debugger) TraceFunction(name string) func() + type ProfileType string + const ProfileCPU + const ProfileGoroutine + const ProfileMemory