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

Commit 2194fe6

Browse files
committed
Make ILogger covariant
1 parent bd778d4 commit 2194fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Framework.Logging.Abstractions/ILoggerOfT.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Microsoft.Framework.Logging
99
/// A generic interface for logging where the category name is taken from the specified TCategoryName.
1010
/// For enabling activation of named ILogger from DI.
1111
/// </summary>
12-
public interface ILogger<TCategoryName> : ILogger
12+
public interface ILogger<out TCategoryName> : ILogger
1313
{
1414

1515
}

0 commit comments

Comments
 (0)