Beispiel #1
0
 /// <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));
Beispiel #2
0
 public static ILogger CreateLogger(this IRequireLogger fixture) => fixture.CreateLogger(fixture.GetType());