-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dict arrays #111
Comments
You can use |
Of course, but it comes a little bit reflection cost. I think array supports like DICT is better than JSON marshaling. |
You're right. I just don't have the need for such complex structure, so I can't promise I'll add it. If you want to give it a try, I'm all for it. |
I faced the same situation right now and had completely forgotten this message, and Google brought me up here again two years later :) Is anybody else asked? |
Not that I know of :) |
oh, maybe I'll send a PR next time I come back :) |
I'm needing this so I will open a PR for consideration. |
Is there a method for adding zerolog.Dict objects to inside zerolog.Array?
I want to log things like following structure:
I was thinking to make this like that:
But I can't see Dict method in the zerolog.Array struct.
Thanks.
The text was updated successfully, but these errors were encountered: