Hi! 

So I have been looking at golang v1.21, and while I like the slog
package in principle, it really annoys me that there is no way to get a
new slog Logger *that I can specify the underlying log.Logger for*. 

It seems I have to implement a complete slog.Handler myself, which is
six miles of code I don't really want to do anything different (than the
default slog.Logger), except using a newly-created log.Logger (with a
different flag bitset). Am I missing something?

Best,
Tobias

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0fdf7874-4e05-4542-a20a-747a836a38de%40skade.local.

Reply via email to