Debug statements #128
usebeforefree
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
I would be okay with that :) Feel free to make a pr or I can make it later |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From my experience the debug statements, when interacting with clients, are way too long and just consume too much space in my terminal window.
ex. httplog.debug("Got response from server: {s}", .{res_body});They obviously go away when you build release, but still, from my perspective they are way too long, and not particularly useful while developing.
Maybe we could pass a slice of lets say first 100 characters, so the statement fits in one line.
Not sure what is the general opinion on this topic, but I am willing to fix the issue myself if it comes to that.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions