/// <summary> /// Creates a new <see cref="Microsoft.Extensions.Logging.ILogger"/> instance using the full name of the given type. /// </summary> /// <param name="fixture">The fixture.</param> /// <typeparam name="T">The type.</typeparam> /// <returns>The <see cref="Microsoft.Extensions.Logging.ILogger"/> that was created.</returns> public static ILogger CreateLogger <T>(this IRequireLogger fixture) => fixture.CreateLogger(typeof(T));
public static ILogger CreateLogger(this IRequireLogger fixture) => fixture.CreateLogger(fixture.GetType());