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

Static member access doesn't work for concrete type parameters #287

Closed
skomis-mm opened this issue Nov 2, 2021 · 0 comments · Fixed by #291
Closed

Static member access doesn't work for concrete type parameters #287

skomis-mm opened this issue Nov 2, 2021 · 0 comments · Fixed by #291
Labels

Comments

@skomis-mm
Copy link
Contributor

skomis-mm commented Nov 2, 2021

Following configuration doesn't work:

"formatter": {
  "type": "Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
  "template": "{ {@t: UtcDateTime(@t), @l, @sc: SourceContext, @mt, @x, ..@p, SourceContext: undefined()} }\n",
  "theme": "Serilog.Templates.Themes.TemplateTheme::Code, Serilog.Expressions"
}

because we only check static member access for abstract types here, but Serilog.Templates.Themes.TemplateTheme is concrete type.

See linked issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant