src/Extensions.Logging.Mock/VerifyBuilderExtensions.cs
/// <summary>
///     Verifies if the underlying logger was NOT called for the log level <see cref="LogLevel.Trace" />.
/// </summary>
/// <typeparam name="T">The type of the generic parameter of the logger.</typeparam>
/// <param name="builder">The verify builder.</param>
/// <returns>The verify constraints builder.</returns>
Verifies if the underlying logger was NOT called for the log level .
Verifies if the underlying logger was NOT called for the log level .
public static IVerifyConstraintsBuilder<T> TraceWasNotCalled<T>(this IVerifyBuilder<T> builder)
		{
			Mock<ILogger<T>> logger = builder.LogWasNotCalled(LogLevel.Trace);
			return new VerifyConstraintsBuilder<T>(logger);
		}
public static IVerifyConstraintsBuilder < T > TraceWasNotCalled < T > ( this IVerifyBuilder < T > builder ) { Mock < ILogger < T > > logger = builder . LogWasNotCalled ( LogLevel . Trace ) ; return new VerifyConstraintsBuilder < T > ( logger ) ; }
Verifies if the underlying logger was NOT called for the log level .
Verifies if the underlying logger was NOT called for the log level .
The verify constraints builder.
The verify constraints builder .
IVerifyBuilder<T>
this
builder
The verify builder.
The verify builder .
typeparam
The type of the generic parameter of the logger.
The type of the generic parameter of the logger .