dotnet / dotnet/command-line-api

Share IConsole interface between CommandLine and Microsoft.Extensions.Logging.Console

Open
#2,281 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

I am trying to use MS.Entensions.Logging with CommandLine using [this ](https://learn.microsoft.com/en-us/dotnet/standard/commandline/dependency-injection)example and it would be great to pass `IConsole` interface from `BindingContext` to `LoggerFactory` or get simple `ILogger` implementation from `MS.Extensions.Logging.Abstractions` without `MS.Extensions.Logging` dependency.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.