REPOSITORY / ScuroNeko/SNekLog

Commits

COMMITS REPOSITORY
Commit Graph
11 Commits
Author SHA1 Message Date
ScuroNeko d534f92d48 (refactor): prepare breaking v2 API
- rename package to sneklog and move module to /v2
- replace text output flags with writer formatters
- remove external color dependencies
- update migration notes and coverage
2026-04-24 15:43:14 +03:00
ScuroNeko 14b787710c Merge branch 'main' of scuroneko.dev:ScuroNeko/slog 2026-04-20 18:11:30 +03:00
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 6456d4d95d update package name to new domain 2026-03-30 00:02:39 +03:00
ScuroNeko 5d96c6fbae version bump 2026-03-17 15:41:00 +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 956755fe82 license; v1.0.2 2026-01-29 11:56:48 +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
ScuroNeko c8814ca9ff initial commit 2026-01-28 16:58:38 +03:00