Commit Graph
5 Commits
Author SHA1 Message Date
ScuroNeko 9268e222ab feat: add message replacement for log records
Add Logger.AddReplacer to mask or normalize message text before records reach writers.
Document replacement behavior in README and package GoDoc, and update the example.

Also fix JSON writer edge cases:
- avoid panic on empty message lists
- preserve newline semantics when the last message already ends with n
- keep original message argument types for custom writers when no replacers are configured

Update dependencies and add release notes for the next release.
2026-04-20 18:00:11 +03:00
ScuroNeko badee2c598 docs: add godoc and bilingual README 2026-03-17 15:33:11 +03:00
ScuroNeko 6112a707c7 fix: prevent logger close recursion and unsafe writer closing 2026-03-17 14:43:28 +03:00
ScuroNeko 44ab702369 v1.0.1 2026-01-29 10:57:55 +03:00
ScuroNeko c7bc036d00 v1.0.0 2026-01-28 17:33:00 +03:00