@@ -1871,7 +1871,7 @@ trait Matchers {
18711871 */
18721872 def isEqual [R ](q : R , r : R ): Boolean = q == r
18731873
1874- val logger : MatchLogger
1874+ val matchLogger : MatchLogger
18751875
18761876 /**
18771877 * Implicit class MatcherOps which allows us to use the method :| on a Matcher[T,R].
@@ -2006,8 +2006,8 @@ trait Matchers {
20062006 * @return a Matcher[T, R] based on f.
20072007 */
20082008 private def constructMatcher [T , R ](f : T => MatchResult [R ], matcherName : String = " " ): Matcher [T , R ] =
2009- if (logger .disabled) (t : T ) => tryMatch(f, t)
2010- else new LoggingMatcher [T , R ](f, matcherName)(logger )
2009+ if (matchLogger .disabled) (t : T ) => tryMatch(f, t)
2010+ else new LoggingMatcher [T , R ](f, matcherName)(matchLogger )
20112011
20122012 /**
20132013 * Method to invoke the given function but protected by try/catch.
@@ -2179,6 +2179,6 @@ object Matchers {
21792179 * The `MatchLogger` is responsible for managing logging with the specified `LogLevel`.
21802180 * It can either log messages or remain disabled based on the defined logging level.
21812181 */
2182- val logger : MatchLogger = implicitly[MatchLogger ]
2182+ val matchLogger : MatchLogger = implicitly[MatchLogger ]
21832183 }
21842184}
0 commit comments