jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.83k stars 187 forks source link

all: use log/slog for debug logs #2132

Closed gcurtis closed 3 weeks ago

gcurtis commented 3 weeks ago

We currently use debug.Log for all log messages, which in turn uses the stdlib log package. This change removes the debug.Log function and instead initializes a *slog.Logger as the default logger. All debug.Log calls are now slog.Debug or slog.Error calls.

sentry-io[bot] commented 3 weeks ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎