sbom-tool
sbom-tool copied to clipboard
Use `ILogger<T>` from `Microsoft.Extensions.Logging` instead of `ILogger` from Serilog
trafficstars
The SBOM tool uses Serilog's ILogger interface directly. Unfortunately, Component Detection expects the ILogger<T> interface from Microsoft.Extensions.Logging and uses the Serilog.Extensions.Logging package to provide an implementation.
In our research, using the Microsoft.Extensions.Logging logging API, and plugging in different logging frameworks (like Serilog) was the recommended approach.