Month: September 2021

Writing logs – Logging patterns-2

In the Act phase, we call the Execute method of our service. This method logs a line to the ILogger implementation that is injected upon instantiation. Then, we assert that the line was written in the lines list (that’s what AssertableLogger does; it writes to a List<string>). In an ASP.NET Core application, all that logging […]



          Copyright © 2015-2024 | About | Terms of Service | Privacy Policy