- Notifications
You must be signed in to change notification settings - Fork4
Open
Description
In some test code we are creating a host application builder and instantiating serilog to do app logging.
coder-desktop-windows/App/Services/MutagenController.cs
Lines 160 to 162 ina6f7bb6
varbuilder=Host.CreateApplicationBuilder(); | |
builder.Services.AddSerilog(); | |
_logger=(ILogger<MutagenController>)builder.Build().Services.GetService(typeof(ILogger<MutagenController>))!; |
We should probably just write an implementation forILogger
andILogger<out T>
that log to the test output. It can use serilog under the hood if that makes it easier.
IDK where we'd put it, though. Maybe we should add add aTest.Utils
project or something
Metadata
Metadata
Assignees
Labels
No labels