Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​Extensions.​Logging.​Abstractions.​NullLoggerFactory

Assembly: Microsoft.Extensions.Logging.Abstractions

Inheritance: object → NullLoggerFactory

Implemented Interfaces

An <see cref="T:Microsoft.Extensions.Logging.ILoggerFactory" /> used to create an instance of <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger" /> that logs nothing.

Fields and Constants

public static readonly NullLoggerFactory
Instance
Returns the shared instance of <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory" /> .

Methods

public void
AddProvider​(ILoggerProvider provider)
Remarks This method ignores the parameter and does nothing.
public ILogger
CreateLogger​(string name)
Remarks This returns a <see cref="T:Microsoft.Extensions.Logging.Abstractions.NullLogger" /> instance that logs nothing.
public void
Dispose​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object