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

Analysis fails in numeric format with + sign #57

Open
jotabe-net opened this issue Oct 27, 2021 · 0 comments
Open

Analysis fails in numeric format with + sign #57

jotabe-net opened this issue Oct 27, 2021 · 0 comments

Comments

@jotabe-net
Copy link

Example:
This template is accepted by the analyzer:
"{Balance,10:#0.00}"
This isn't:
"{Balance,10:+#0.00;-#0.00;0.00}"
The problem is that the + in the format, is triggering:
Serilog002: Error while parsing MessageTemplate: Found invalid charater '+' in property

I don't know if the problem is that the '+' is not accepted in the whole property placeholder, or that this character is rejected in the format part

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

1 participant