Claude
f9b8770303
v0.1.13 follow a replaced, removed, moved log file properly
Test / test (push) Canceled after 0s
Test / fuzz (./compat, FuzzParseFormat) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatJSON) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatTextPolicy) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSanitize) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSerializerJSON) (push) Canceled after 0s
v0.1.13
2026-10-15 16:54:39 -04:00
Claude
fe711ed2a5
v0.1.12 SetConsoleWriter routes console output to a host writer
...
Test / test (push) Canceled after 0s
Test / fuzz (./compat, FuzzParseFormat) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatJSON) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatTextPolicy) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSanitize) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSerializerJSON) (push) Canceled after 0s
A host that draws on the terminal (a TUI) cannot let the logger write to
stdout or stderr, yet the records are worth showing inside the host.
SetErrorHandler already covers internal diagnostics; SetConsoleWriter is
its sibling for console output.
- SetConsoleWriter(w) sends console output of every console_target to w,
split's warn-and-above records included; nil restores stdout/stderr.
It holds across ApplyConfig and is safe while logging.
- One stored value: ApplyConfig and SetConsoleWriter publish the console
writers through storeConsole; the processor's split branch now reads
the stored warn writer instead of writing os.Stderr directly.
- TestLoggerConsoleTargets becomes TestConsoleWriterTakesEveryTarget,
which asserts where each target's records land; a second test checks
that nil restores the configured writers.
- README names both hooks for terminal hosts; the API doc's callback
contract covers console writers.
Verified: go build ./... ok; gofmt -l on changed files clean; go vet ./...
ok; go test ./... ok (all four packages, under 1 s); go test -race on the
new tests ok; mutation run 6 of 6 caught.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01SyaMAhyEzAp3ULLWJZG4jQ
2026-10-10 20:14:00 -04:00
lixen
2417e51da1
v0.1.11 harden logging lifecycle, sanitization, and formatter edge cases
Test / test (push) Canceled after 0s
Test / fuzz (./compat, FuzzParseFormat) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatJSON) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatTextPolicy) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSanitize) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSerializerJSON) (push) Canceled after 0s
2026-09-26 14:25:14 -04:00
lixen
79a81db3ca
v0.1.10 trace log level added avoiding toggle
2026-08-01 08:46:34 -04:00
lixen
3820c1368d
v0.1.9 kv flag added, unix and nofs build tags, heartbeat and rotation filename and test update
2026-08-01 05:09:51 -04:00
lixen
2eaa80a39d
v0.1.8 tests converted to standard library from testify
2026-07-24 13:48:21 -04:00
lixen
0e29d8db6a
v0.1.7 removed spew usage for serializing complex raw logs
2026-07-17 13:51:28 -04:00
lixen
3e79df87ae
v0.1.6 fix to formatter and sanitizer for async use, doc update
2026-07-17 12:53:28 -04:00
lixen
5587eb9175
v0.1.5 cleanup
2026-02-25 09:40:07 -05:00
lixen
6734e2141c
v0.1.4 formatter race fix, fiber adapter added, default config changed, docs updated
2025-11-17 16:33:08 -05:00
lixen
8b5faa217f
v0.1.3 formatter exported, docs updated
2025-11-15 16:32:27 -05:00
lixen
0bdbc95409
v0.1.2 sanitizer redisigned with policies and rules
2025-11-15 13:23:18 -05:00
lixen
05228e64ba
v0.1.1 format refactored, sanitizer added
2025-11-15 04:32:39 -05:00
lixen
443cd85416
v0.1.0 Release
2025-11-11 03:53:43 -05:00
lixen
ce6b178855
e3.2.1 Format type text changed to txt for consistency and clarity.
2025-10-10 05:40:26 -04:00
lixen
162541e53f
e3.2.0 File and console output clarity and uniform configuration, minor cleanup.
2025-09-29 10:53:47 -04:00
lixen
d58b61067f
e3.1.2 Changed output stdout to console for clarity.
2025-09-29 04:47:48 -04:00
lixen
2234123f59
e3.1.1 Go 1.25 bump.
2025-09-08 04:53:52 -04:00
lixen
ce6e3b7ffc
e3.1.0 Refactored lifecycle (configuration, drop report, heartbeat).
2025-07-21 21:28:45 -04:00
lixen
98402cce37
e3.0.0 Tests added, optimization, bug fixes, builder changed.
2025-07-20 18:11:03 -04:00
lixen
97b85995e9
e2.0.0 Init and config pattern changed, builder added, docs updated, examples removed (deprecated).
2025-07-18 23:19:26 -04:00
lixen
09ef19bc9e
e1.11.0 Configuration refactored and simplified (interface changed).
2025-07-16 03:27:41 -04:00
lixen
91b9961228
e1.10.0 Configuration refactored.
2025-07-15 11:40:00 -04:00
lixen
b0d26a313d
e1.9.0 Structured JSON log method added, refactored.
2025-07-14 20:49:22 -04:00
lixen
146141a38e
e1.8.0 Raw (unformatted) logging support added.
2025-07-14 18:19:10 -04:00
lixen
2e410be060
e1.7.0 Timestamps improvements.
2025-07-13 17:08:09 -04:00
lixen
cf37614e35
e1.6.2 Dropped log report fix.
2025-07-13 01:23:37 -04:00
lixen
115888979e
e1.6.1 Configurable internal errors, minor documentation and code fixes.
2025-07-10 18:00:42 -04:00
lixen
52d6a3c86d
e1.6.0 Documentation update.
2025-07-10 13:51:27 -04:00
lixen
43c98b08f9
e1.5.0 Log sink options added.
2025-07-09 21:21:14 -04:00
lixen
ccbe65bf40
e1.4.4 Fix module path and dependency issues, compatibility package added.
2025-07-08 22:13:11 -04:00
lixen
7ce7158841
e1.3.0 Config dependency update.
2025-04-27 20:57:18 -04:00
lixen
764caeb894
e1.2.1 Readme update and comment cleanup.
2025-04-24 15:31:49 -04:00
lixen
bfed212f40
e1.2.0 Heartbeat feature added.
2025-04-23 11:52:57 -04:00
lixen
0ddfa2c533
e1.1.0 Refactoring default config and unused functions, global auto-initiated logger instance removed
2025-04-23 01:08:14 -04:00
lixen
c809396455
e1.0.1 Minor feature add, file restructure.
2025-04-22 18:48:29 -04:00
lixen
b78da2b449
e1.0.0 Initial commit, restructured and refactored logger package, used config package for configuration management.
2025-04-22 11:29:34 -04:00