I created a custom slog Handler which adds an attribute eventId which is a 
GUID

A NewLogger function returns that logger wrapped into a group: Every 
further key-value provided should go into that group.

Unfortunately the eventId also gets promoted into that group although it 
should be at the parent level.

See here the Goplay https://play.golang.com/p/a10f09jMwL3

Thank you for your help, Johann

-- 
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/ba1e69bf-b432-4703-8f5a-8e998fa06953n%40googlegroups.com.

Reply via email to