Skip to content

Conversation

@maargenton
Copy link
Owner

  • Add slogtest.Recorder as a recording implementation of slog.Handler.
  • Add helper functions to extract all attributes from slog.Record.
  • Add helper function to install temporary recorder as default slog logger.

@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.44%. Comparing base (da3d445) to head (d3c1072).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   93.13%   93.44%   +0.30%     
==========================================
  Files          29       30       +1     
  Lines        2055     2150      +95     
==========================================
+ Hits         1914     2009      +95     
  Misses        141      141              
Flag Coverage Δ
unittests 93.44% <100.00%> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@maargenton maargenton merged commit 1ad9952 into master Nov 12, 2024
48 checks passed
@maargenton maargenton deleted the maa/slogtest branch November 12, 2024 10:35
@maargenton
Copy link
Owner Author

Released in v1.5.0

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.

3 participants