Claude
a543af9cc6
refactor(ax): AX compliance pass — usage example comments on all exported functions
...
- Add usage example comments to Logger methods (SetLevel, Level, SetOutput, SetRedactKeys, Debug, Info, Warn, Error, Security)
- Add usage example comments to error introspection (Op, ErrCode, Root, AllOps, StackTrace, FormatStackTrace)
- Add usage example comments to package-level functions (Default, SetDefault)
- Banned imports (fmt, io, os, errors) are LEGITIMATE — this IS the logging/error abstraction layer
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 00:15:08 +00:00
Snider
54a36a779b
feat: standalone structured logging and error handling
...
Zero-dependency logging + error types extracted from core/go.
- E(), Wrap(), WrapCode() structured errors with Op/Msg/Code
- Structured logger with levels, security logging, key-value pairs
- RotationWriterFactory hook for io.Medium integration
- StackTrace(), Root(), FormatStackTrace() error introspection
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 09:30:57 +00:00