You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: colorize full log message and swap TRACE/DEBUG colors
- Full log message (including attributes) now inherits the level color
- Swapped colors: DEBUG is now light gray, TRACE is now dark gray
feat: new log format [time] LEVEL [source] message
- Time in brackets
- Level fixed 5-char width (no brackets)
- Source in brackets, green color, fixed width
- Add SetSourceWidth() function (default 15)
- Update README with new format
feat: add source file and line number to log output
- Format: 2025/12/26 15:04:05 main.go:190: [LEVEL] message
- Use runtime.Callers to get correct caller location
- Works for both structured (Info, Debug, etc.) and compat (Printf, Println) functions