Hello, I've written a slog handler that checks the context for a key/value and changes the log level to debugging if the value matches. It can be found at https://github.com/MichelHollands/tracerbullet.
Is this a valid use of a custom handler? Can you seen anything obviously wrong with this approach? Thanks in advance, Michel -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/c22c5d9a-1317-4020-8d99-438a0772f884n%40googlegroups.com.