src/Extensions.Logging.Mock/VerifyBuilderExtensions.cs
/// <summary>
///     Verifies if the underlying logger was called for the log level <see cref="LogLevel.Error" />.
/// </summary>
/// <param name="builder">The verify builder.</param>
/// <returns>The verify constraints builder.</returns>
Verifies if the underlying logger was called for the log level .
Verifies if the underlying logger was called for the log level .
public static IVerifyConstraintsBuilder ErrorWasCalled(this IVerifyBuilder builder)
		{
			Mock<ILogger> logger = builder.LogWasCalled(LogLevel.Error);
			return new VerifyConstraintsBuilder(logger);
		}
public static IVerifyConstraintsBuilder ErrorWasCalled ( this IVerifyBuilder builder ) { Mock < ILogger > logger = builder . LogWasCalled ( LogLevel . Error ) ; return new VerifyConstraintsBuilder ( logger ) ; }
Verifies if the underlying logger was called for the log level .
Verifies if the underlying logger was called for the log level .
The verify constraints builder.
The verify constraints builder .
IVerifyBuilder
this
builder
The verify builder.
The verify builder .