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

Ensure logging from dynamic schema generation is structured #2823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Jan 10, 2025

For logging to show by default, it needs to be in structured form. This PR correctly preserves the log sink after calls to Parameterize, and uses that log sink as the Sink in tfgen generator calls.

@iwahbe iwahbe self-assigned this Jan 10, 2025
For logging to show by default, it needs to be in structured form. This PR correctly
preserves the log sink after calls to Parameterize, and uses that log sink as the `Sink`
in tfgen generator calls.
@iwahbe iwahbe force-pushed the iwahbe/structured-logging-for-dynamic-schema-conversion branch from 1fc4e87 to 03a3081 Compare January 10, 2025 15:18
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 50.90909% with 27 lines in your changes missing coverage. Please review.

Project coverage is 68.63%. Comparing base (5616df5) to head (03a3081).

Files with missing lines Patch % Lines
dynamic/main.go 48.07% 25 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2823      +/-   ##
==========================================
- Coverage   68.65%   68.63%   -0.03%     
==========================================
  Files         325      325              
  Lines       41537    41566      +29     
==========================================
+ Hits        28518    28528      +10     
- Misses      11415    11433      +18     
- Partials     1604     1605       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

2 participants