Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Shouldn't CreateLogger<T> return ILogger<T>? #379

Closed
@HakanL

Description

@HakanL

When I call CreateLogger I expected the return type to be ILogger so that I can wire up my classes to expect ILogger in the constructor and call CreateLogger from the LoggerFactory to create the required type.

Activity

davidfowl

davidfowl commented on Mar 7, 2016

@davidfowl
Member

It does in RC2 #312

HakanL

HakanL commented on Mar 7, 2016

@HakanL
Author

Ah, sorry, I didn't see that, I guess I just searched open issues before I posted. Is RC2 coming up on NuGet shortly?

davidfowl

davidfowl commented on Mar 7, 2016

@davidfowl
Member
HakanL

HakanL commented on Mar 7, 2016

@HakanL
Author

Got it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @davidfowl@HakanL

        Issue actions

          Shouldn't CreateLogger<T> return ILogger<T>? · Issue #379 · aspnet/Logging