solution: improve logging
This commit is contained in:
@@ -126,6 +126,10 @@ class Selector {
|
|||||||
"ALLOF[" + matchers.joinToString(",") { it.describeInternal() } + "]"
|
"ALLOF[" + matchers.joinToString(",") { it.describeInternal() } + "]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return "Matcher: ${describeInternal()}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class MethodMatcher(
|
class MethodMatcher(
|
||||||
@@ -138,6 +142,10 @@ class Selector {
|
|||||||
override fun describeInternal(): String {
|
override fun describeInternal(): String {
|
||||||
return "allow method $method"
|
return "allow method $method"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun toString(): String {
|
||||||
|
return "Matcher: ${describeInternal()}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class LabelSelectorMatcher: Matcher {
|
abstract class LabelSelectorMatcher: Matcher {
|
||||||
|
|||||||
Reference in New Issue
Block a user