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

Commit 3807733

Browse files
committed
More feedback
1 parent 9ac6d28 commit 3807733

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/Microsoft.Extensions.Logging.Abstractions/NullLoggerFactory.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,26 @@
44
namespace Microsoft.Extensions.Logging.Abstractions
55
{
66
/// <summary>
7-
/// An <see cref="ILoggerFactory"/> used to create instance of <see cref="NullLogger"/>.
7+
/// An <see cref="ILoggerFactory"/> used to create instance of
8+
/// <see cref="NullLogger"/> that logs nothing.
89
/// </summary>
910
public class NullLoggerFactory : ILoggerFactory
1011
{
1112
public static readonly NullLoggerFactory Instance = new NullLoggerFactory();
1213

1314
/// <inheritdoc />
15+
/// <remarks>
16+
/// This returns a <see cref="NullLogger"/> instance which explicitly logs nothing.
17+
/// </remarks>
1418
public ILogger CreateLogger(string name)
1519
{
1620
return NullLogger.Instance;
1721
}
1822

1923
/// <inheritdoc />
24+
/// <remarks>
25+
/// This method explicitly no ops.
26+
/// </remarks>
2027
public void AddProvider(ILoggerProvider provider)
2128
{
2229
}

0 commit comments

Comments
 (0)