Answer to Question #306584 in C# for Aloxord78

Question #306584

# Introduction

You have been handed this project containing a logger which is supposed to write log statements asynchronously to a sink. However it does not seem to work asynchronously... The project is meant as an in-house replacement for `log4net` and `Serilog`. The initial contributor is no longer with us, so you now get the task.

Below is a prioritized backlog.


# Backlog


1. Refactor Logger to be as fast as possible, so the caller can get on with its work and not wait for the log statement to be written. This can be verified by running the test `IsLoggingFast`

*However due to the fact that the logger is currently used in other systems, the current Write method can not have its signature changed

2. Make sure the loggernever crashes the calling application due to errors

3. Make sure the code is covered by relevant unit tests

4. Enrich log statements with timestamp and log level (debug, Information, Warning, Error)

5. Implement a file sink

6. Refactor AsyncLogger to be able to use multiple sinks


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS