|
|
|
|
|
by 59nadir
1035 days ago
|
|
I think you seem to be arguing that the end result should be a "map"-like structure, whereas the other commenter is arguing about the interface to the logging library not being based on maps. These are not the same and taking maps in the interface is likely to incur allocations, yes. Having to specify your key-value pairs without maps is the only downside to not taking fully constructed maps in the interface. |
|
Just my opinions here. I don’t question the value of slog as it sits, just could have been better for the community at large is all.