Custom logging served us well for a long time, but there's now a structured logging package in the standard library. It appears to do everything we want and then some. There's an example for wrapping an slog instance (which could help us transition) as well as a guide for building a custom log handler, which could be useful for the combo logging we do for jobs (DB and console output). Or it might be overkill. Either way, worth some research at least.
This would handle part of the needs described in #174
Custom logging served us well for a long time, but there's now a structured logging package in the standard library. It appears to do everything we want and then some. There's an example for wrapping an
slog
instance (which could help us transition) as well as a guide for building a custom log handler, which could be useful for the combo logging we do for jobs (DB and console output). Or it might be overkill. Either way, worth some research at least.This would handle part of the needs described in #174