Skip to content

Conversation

@dmitriyse
Copy link
Contributor

This fix allows to configure severity levels and others through the appSettings.

{
  "Logging": {
    "XUnit": {
      "LogLevel": {
        "Default": "Trace",
        "Microsoft.AspNetCore.Mvc.*": "Warning",
        "Microsoft.AspNetCore.*": "Information",
        "Microsoft.EntityFrameworkCore.*": "Warning"
      }
    }
  }
}

@martincostello martincostello added this to the v0.2.1 milestone May 15, 2022
@martincostello martincostello added the enhancement New feature or request label May 15, 2022
@codecov
Copy link

codecov bot commented May 15, 2022

Codecov Report

Merging #308 (ee204d4) into main (773a49c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage   99.41%   99.41%           
=======================================
  Files          15       15           
  Lines         340      340           
=======================================
  Hits          338      338           
  Misses          2        2           
Flag Coverage Δ
linux 99.41% <ø> (ø)
macos 99.41% <ø> (ø)
windows 98.82% <ø> (ø)

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

Impacted Files Coverage Δ
src/Logging.XUnit/XUnitLoggerProvider.cs 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 773a49c...ee204d4. Read the comment docs.

@martincostello martincostello merged commit 4c2b65c into martincostello:main May 15, 2022
@martincostello
Copy link
Owner

Thanks!

@martincostello
Copy link
Owner

This change is now available from NuGet.org 🚀

@dmitriyse
Copy link
Contributor Author

Awesome! Many thanks for such fast approval and publishing.
And thank you for the very useful lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants