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

Add skeleton of slog bridge #5292

Merged
merged 3 commits into from
Mar 19, 2024
Merged

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Mar 18, 2024

Part of #5195

@MrAlias MrAlias added the Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG label Mar 18, 2024
@MrAlias MrAlias force-pushed the sloghandler-skeleton branch 3 times, most recently from 09d2d98 to 03ec4ac Compare March 18, 2024 16:00
@MrAlias MrAlias force-pushed the sloghandler-skeleton branch from 03ec4ac to 0d8443c Compare March 18, 2024 16:05
@MrAlias MrAlias marked this pull request as ready for review March 18, 2024 16:15
@MrAlias MrAlias requested a review from a team March 18, 2024 16:15
@MrAlias MrAlias mentioned this pull request Mar 18, 2024
8 tasks
Copy link

codecov bot commented Mar 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 61.1%. Comparing base (6137d41) to head (1eb5561).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            main   #5292     +/-   ##
=======================================
- Coverage   61.2%   61.1%   -0.2%     
=======================================
  Files        185     186      +1     
  Lines      11207   11228     +21     
=======================================
  Hits        6865    6865             
- Misses      4142    4163     +21     
  Partials     200     200             
Files Coverage Δ
bridges/otelslog/handler.go 0.0% <0.0%> (ø)

Add LoggerProvider as an option.

Rename New to NewHandler.

Add the New function to return an *slog.Logger.
Copy link
Contributor

@dashpole dashpole left a comment

Choose a reason for hiding this comment

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

Looks great

@MrAlias

This comment was marked as resolved.

@dashpole

This comment was marked as resolved.

@MrAlias

This comment was marked as resolved.

@dashpole

This comment was marked as resolved.

@MrAlias MrAlias merged commit b82d79a into open-telemetry:main Mar 19, 2024
22 of 23 checks passed
@MrAlias MrAlias deleted the sloghandler-skeleton branch March 19, 2024 18:04
@dashpole dashpole mentioned this pull request Apr 3, 2024
@MrAlias MrAlias added this to the v1.25.0 milestone Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog Allow PR to succeed without requiring an addition to the CHANGELOG
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants