#873-implement-logger-for-tempservice #931
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
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