Commit graph

3 commits

Author SHA1 Message Date
Virgil
3ed9ea71dc fix(log): harden logger defaults and default proxy safety 2026-03-29 22:35:38 +00:00
Snider
700747aa0b security: add key redaction and log injection prevention
Add SetRedactKeys() for masking sensitive values in log output.
Quote string values with %q to prevent log injection attacks.
Add AllOps iterator and improve error stack formatting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 08:29:57 +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