TestingLoggingProvider.assertHasMessage

Asserts that this provider has a cached log message with the given string message.

  1. void assertHasMessage(bool delegate(LogMessage) dg, string message)
  2. void assertHasMessage(string expected, bool caseSensitive)
    class TestingLoggingProvider
    void
    assertHasMessage
    (
    string expected
    ,
    bool caseSensitive = true
    )
  3. void assertHasMessage(Level level)

Parameters

expected string

The expected string message.

caseSensitive bool

Whether to do a case-sensitive search. True by default.