Skip to content

Comments

feat(x): configurable logger output#465

Merged
joe0BAB merged 1 commit intomainfrom
x/logger
Feb 23, 2026
Merged

feat(x): configurable logger output#465
joe0BAB merged 1 commit intomainfrom
x/logger

Conversation

@joe0BAB
Copy link
Collaborator

@joe0BAB joe0BAB commented Feb 20, 2026

No description provided.

@joe0BAB joe0BAB self-assigned this Feb 20, 2026
@joe0BAB joe0BAB requested a review from Benehiko February 20, 2026 14:03
@joe0BAB joe0BAB marked this pull request as ready for review February 23, 2026 08:20
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

✅ The code changes look good! This PR successfully adds configurable logger output functionality through an options pattern. The implementation is clean:

  • The WithOut option correctly allows customizing the output writer
  • Proper nil checks prevent potential panics
  • The prefix handling remains consistent with the existing behavior
  • Fallback to os.Stderr ensures the logger is always initialized

No critical issues found in the changed code.

@joe0BAB joe0BAB merged commit 454fc3b into main Feb 23, 2026
15 of 16 checks passed
@joe0BAB joe0BAB deleted the x/logger branch February 23, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants