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

Use params for log messages #897

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open

Conversation

matt-richardson
Copy link

@matt-richardson matt-richardson commented Jun 13, 2024

The logging that comes out of WebJobs.Extensions.* mostly uses params for structured logging, but some spots just use plain old interpolated strings.

This means that it's hard to filter these out, as they're all different:

image

This PR updates the log messges so they use params better, like structured logs should be.

Note:

  • I didn't update anything in the WebJobs.Extensions.CosmosDB namespace - As I dont use that, and am unsure of the details, I'm hesitant to change it
  • Even though the general consensus is to use CamelCase for property names, I've followed the existing convention (functionName instead of FunctionName) for the properties

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.

None yet

1 participant