Skip to content
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

Question: Always print in hex instead of decimal? #65

Closed
BarberEngineering opened this issue May 12, 2020 · 2 comments
Closed

Question: Always print in hex instead of decimal? #65

BarberEngineering opened this issue May 12, 2020 · 2 comments

Comments

@BarberEngineering
Copy link

is there a way to set the logger to always print hex values for data (bytes) instead of decimal? I'm trying to avoid always adding hclog.fmt()'s would like to just specify this in the configuration?

thanks

@evanphx
Copy link
Contributor

evanphx commented May 12, 2020

There isn't now but I submitted a PR to make it so => #66

@BarberEngineering
Copy link
Author

thanks!

evanphx added a commit that referenced this issue May 14, 2020
Add convenience functions to format numbers. Closes #65
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants