logfmt-ruby
logfmt-ruby copied to clipboard
Convert integers like 089 correctly
Expect all integer values to be in base 10. This way the conversion doesn't try to interpret e.g. 089 as an octal number (which it obviously isn't).
The first commit in this PR just refactors a repeated code snippet into a helper method.