uptrace / bun

SQL-first Golang ORM
https://bun.uptrace.dev
BSD 2-Clause "Simplified" License
3.46k stars 206 forks source link

Allow overiding of `Warn` and `Deprecated` loggers #952

Closed thomasvn closed 3 months ago

thomasvn commented 5 months ago

Currently, internal.Warn.Printf() and internal.Deprecate.Printf() have numerous calls but no way of overriding them with your own logger.

thomasvn commented 3 months ago

@vmihailenco Any thoughts on this?

vmihailenco commented 3 months ago

We probably want to start using Slog, but this will do for now. Thanks!

thomasvn commented 3 months ago

Agree, thanks for the review!