-
Notifications
You must be signed in to change notification settings - Fork 10
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
change to logging #466
change to logging #466
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #466 +/- ##
===================================================
- Coverage 80.09275% 80.02254% -0.07021%
===================================================
Files 379 379
Lines 23936 23957 +21
Branches 1081 1083 +2
===================================================
Hits 19171 19171
- Misses 4394 4412 +18
- Partials 371 374 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here. |
@@ -70,5 +70,6 @@ | |||
<PackageReference Include="AspNetCore.HealthChecks.MongoDb" Version="6.0.2" /> | |||
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" Version="6.0.21" /> | |||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" /> | |||
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.3" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this needed since this project doens't reference any ASP.NET lib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure how that got added. will remove
@@ -55,9 +55,9 @@ public static Type GetType(this Type interfaceType, string typeString) | |||
typeString, | |||
(name) => | |||
{ | |||
var assembly = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(z => !string.IsNullOrWhiteSpace(z.FullName) && z.FullName.StartsWith(name.FullName)); | |||
var assembly = AppDomain.CurrentDomain.GetAssemblies().ToList().Find(z => !string.IsNullOrWhiteSpace(z.FullName) && z.FullName.StartsWith(name.FullName)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't .ToList().Find(...)
take extra execution?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was to stop a warning, but Im going to change it back.
Signed-off-by: Neil South <neil.south@answerdigital.com>
9528da3
to
c9c584c
Compare
Description
Changes to logging
Status
Ready
Types of changes