Skip to content

Conversation

redpinecube
Copy link
Contributor

@redpinecube redpinecube commented Oct 13, 2025

description

this PR closes #32 by implementing a multihandler to write structured logs to multiple io.Writer instances at once and at different log levels.

changes made

  • added documentation and tests
  • improved the testability of CreateLogger() - added file rotation using lumberjack
  • reimplemented WithAttrs and WithGroup to persist metadata in log entries
  • implemented OverrideYAMLConfig to allow env variables to override default log level configurations, globally and by io.Writer.

Signed-off-by: redpinecube <[email protected]>
@redpinecube redpinecube requested a review from blobcode October 13, 2025 13:49
@redpinecube redpinecube linked an issue Oct 13, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging

1 participant