Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/feature: fix and extend debug logging #59

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

jimlambrt
Copy link
Collaborator

This commit allows devs to specify a logger via WithLogger(...) which implements the LogWriter interface. By providing a logger that implements LogWriter, devs can override the default logging behavior for a logger (the default only emits postgres errors)

This commit allows devs to specify a logger via
WithLogger(...) which implements the LogWriter
interface. By providing a logger that implements
LogWriter, devs can override the default logging
behavior for a logger (the default only emits
postgres errors)
@jimlambrt jimlambrt force-pushed the jimlambrt-gorm-logger branch from 0290296 to a82154f Compare September 9, 2024 16:18
@jimlambrt jimlambrt merged commit 6cee92b into main Sep 9, 2024
8 checks passed
@jimlambrt jimlambrt deleted the jimlambrt-gorm-logger branch September 9, 2024 16:21
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