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.​LoggerFactoryExtensions

Assembly: Microsoft.Extensions.Logging.Abstractions

Inheritance: object → LoggerFactoryExtensions

ILoggerFactory extension methods for common scenarios.

Methods

public static ILogger
CreateLogger​(ILoggerFactory factory, System.​Type type)
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instance using the full name of the given <paramref name="type" /> .
Returns The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> that was created.
factory The factory.
type The type.
public static ILogger<​T>
CreateLogger​(ILoggerFactory factory)
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger" /> instance using the full name of the given type.
Returns The <see cref="T:Microsoft.Extensions.Logging.ILogger" /> that was created.
factory The factory.
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