TestingLoggingProvider.assertMessageCount

Asserts that this provider has exactly an expected amount of messages at the given logging level.

  1. void assertMessageCount(size_t expected)
  2. void assertMessageCount(Level level, size_t expected)
    class TestingLoggingProvider
    void
    assertMessageCount

Parameters

level Level

The level to filter by.

expected size_t

The expected message count.