LoggerFactoryExtensions public static class LoggerFactoryExtensions ILoggerFactory extension methods for common scenarios. Documentation Code public static ILogger<T> CreateLogger<T>(this ILoggerFactory factory) Creates a new ILogger instance using the full name of the given type. public static ILogger CreateLogger(this ILoggerFactory factory, Type type) Creates a new ILogger instance using the full name of the given type.