Enhances a Matcher with logging functionality. This method wraps an existing Matcher in a LoggingMatcher, associating it with a descriptive name and using an implicit MatchLogger to handle logging operations.
Enhances a Matcher with logging functionality. This method wraps an existing Matcher in a LoggingMatcher, associating it with a descriptive name and using an implicit MatchLogger to handle logging operations.
Value parameters
ml
An instance of MatchLogger used for managing logging behavior.
name
A descriptive name for the matcher, supplied lazily.
Attributes
Returns
A new Matcher[T, R] instance enhanced with logging capabilities.