Skip to content

feat: replace logrus in sim with slog#617

Merged
rdimitrov merged 1 commit intotheupdateframework:masterfrom
MDr164:log
Mar 8, 2024
Merged

feat: replace logrus in sim with slog#617
rdimitrov merged 1 commit intotheupdateframework:masterfrom
MDr164:log

Conversation

@MDr164
Copy link
Copy Markdown
Contributor

@MDr164 MDr164 commented Mar 7, 2024

This resolves #609

@MDr164
Copy link
Copy Markdown
Contributor Author

MDr164 commented Mar 7, 2024

I noticed the logging was very inconsistent when it comes to using Fatal, Panic, Info, Debug etc. in the current code. Every place that used Fatal or Panic before will now call os.Exit(1), the rest will simply print as done before.

mnm678
mnm678 previously approved these changes Mar 7, 2024
@MDr164
Copy link
Copy Markdown
Contributor Author

MDr164 commented Mar 7, 2024

Resolved the merge conflict

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 7, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.09%. Comparing base (14cf073) to head (cbdfffc).
Report is 20 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #617      +/-   ##
==========================================
+ Coverage   70.51%   73.09%   +2.57%     
==========================================
  Files          10       10              
  Lines        2123     1650     -473     
==========================================
- Hits         1497     1206     -291     
+ Misses        505      323     -182     
  Partials      121      121              

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

rdimitrov
rdimitrov previously approved these changes Mar 7, 2024
This removes another thirdparty dependecy without sacrificing
any functionality.

Signed-off-by: Marvin Drees <marvin.drees@9elements.com>
@rdimitrov rdimitrov merged commit c893deb into theupdateframework:master Mar 8, 2024
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.

Consider deprecating use of third-party logging libraries in favour of stdlib (log/slog) ?

4 participants