Skip to content

added support for primitive field types#4

Open
derrickchilders wants to merge 4 commits intopukkaone:masterfrom
derrickchilders:master
Open

added support for primitive field types#4
derrickchilders wants to merge 4 commits intopukkaone:masterfrom
derrickchilders:master

Conversation

@derrickchilders
Copy link
Copy Markdown

No description provided.

@pukkaone
Copy link
Copy Markdown
Owner

Thanks for the pull request. The GELF format specification allows a field value to be a JSON number or string, so you only need to convert a field value to a number or string. Use NumberFormat to convert a string to a Number subtype instance:

Number number = NumberFormat.getInstance().parse(string);

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

Successfully merging this pull request may close these issues.

2 participants