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

Structured logging #40

Open
DiskCrasher opened this issue Aug 21, 2020 · 0 comments
Open

Structured logging #40

DiskCrasher opened this issue Aug 21, 2020 · 0 comments

Comments

@DiskCrasher
Copy link

Does this sink support structured/semantic logging? The following code produces identical XML results in the Windows Event Log:

s_logger.Information("T1: Logger test #{TestNo}", 1);
s_logger.Information("T1: Logger test #1");

Event Log XML:

<EventData>
  <Data>T1: Logger test #1</Data> 
</EventData>

I was expecting to see something granular for TestNo that would allow filtering. Or am I misunderstanding how this works?

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