Seems it's not possible to create a logger using the log.Logger format in a 
straight-forward way?

On Thursday, July 20, 2023 at 3:48:49 PM UTC+2 cpu...@gmail.com wrote:

> The log/slog logger uses the log.Logger format by default. Implementation 
> is internal.
>
> In a gradual switch to slog I'd like to keep that format for time being 
> but customize other handler options- hence need to create a new Logger. Is 
> there a good way to do that without reimplementing the entire internal slog 
> logic around commonHandler etc?
>
> Cheers,
> Andreas
>
>

-- 
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/0bca800d-f49a-4feb-9ce8-235ec3b03580n%40googlegroups.com.

Reply via email to