Skip to content

Add log category name to structured logs#1214

Merged
JamesNK merged 4 commits intomainfrom
jamesnk/logging-category
Dec 6, 2023
Merged

Add log category name to structured logs#1214
JamesNK merged 4 commits intomainfrom
jamesnk/logging-category

Conversation

@JamesNK
Copy link
Copy Markdown
Member

@JamesNK JamesNK commented Dec 6, 2023

Fixes #1200

I haven't added it to the grid because I don't think there is real estate.

Added to details view:
image

Support filtering:
image

OtlpScope? scope;
try
{
var name = sl.Scope?.Name ?? string.Empty;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does missing scope mean?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding comment in the code too.

@JamesNK JamesNK merged commit bfa45d0 into main Dec 6, 2023
@JamesNK JamesNK deleted the jamesnk/logging-category branch December 6, 2023 04:21
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Structured log view doesn't include logger's category name

2 participants