-
Notifications
You must be signed in to change notification settings - Fork 69
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
Indent all keyvals #118
Comments
Perhaps we can add an option that allows you to do something like?
On the other hand @creativecreature, is there a particular reason you want to avoid adding new lines if that gives you the desired result? |
I think that your proposed option would be great! I'm currently using a similar approach, though it does become a little tedious over time. The new lines does not really give me the result I'm after, but it's better than having a really long line! With a |
Yessssss 🎉 Just chiming in here to say that this would be a huuuuuge usability win. Especially for programs which have large traces with keyvals which end-users have to read through. I've just migrated a large project to use this package, was pretty painless! |
Hi, thanks a lot for creating this package!
I have been playing around with it a bit today, but I have not been able to find a way that ensures that the
keyvals
always gets indented.To illustrate what I mean, I've created this program:
Running itprints the message as a single line like this:
However, I looked a bit at the code, and saw that there was an indentation separator. Is there a way to ensure that it gets applied to all keyvals without having to add newlines to each value like this:
The text was updated successfully, but these errors were encountered: