#873-implement-logger-for-tempservice #931
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!931
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "873-implement-logger-for-tempservice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaced Console.WriteLine with ILogger in tempService.
Added structured logging for:
-endpoints
-service layer
-database queries
#873implement-logger-for-tempserviceto #873-implement-logger-for-tempserviceIt looks good good.
What needs to be done
Just remove the redundant imports.
@ -1,11 +1,16 @@using Dapper;using Npgsql;using tempService.Models;using Microsoft.Extensions.Logging;You don't need to import logging. It is inbuilt it dotnet
@ -1,6 +1,7 @@using Microsoft.Extensions.Caching.Memory;using tempService.Services;using tempService.Models;using Microsoft.Extensions.Logging;same here
@ -1,10 +1,14 @@using tempService.Models;using tempService.DatabaseLogic;using Microsoft.Extensions.Caching.Memory;using Microsoft.Extensions.Logging;here too
check the above comments
@a22erigr @a24sakma Removed the imports as suggested in the review
Have you run the code and verified it works?
@a22erigr Yes, tested and it still works after removing the import