Skip to content

Substiture for ILoggerFactory.CreateLogger<T> #728

@alvipeo

Description

@alvipeo

In almost any .NET project I need to have a substitute for ILoggerFactory and its probably most used method CreateLogger<T>(). It returns ILogger<T>, which is in turn:

public interface ILogger<out TCategoryName> : Microsoft.Extensions.Logging.ILogger

Any idea how could this be substituted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion on NSubstitute behaviour

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions