Fix logger params overflow bug in ReflectionTool

This commit is contained in:
2022-09-13 02:03:09 +08:00
parent e955b8d9fd
commit 74bb420947

View File

@@ -375,7 +375,6 @@ internal object ReflectionTool {
nameConditions?.let { "nameConditions:$it" } ?: "",
"type:[${type ?: "unspecified"}] ",
"modifiers:${modifiers ?: "[]"} ",
"name:[${name.takeIf { it.isNotBlank() } ?: "unspecified"}]",
orderIndex?.let { it.takeIf { it.second }?.let { e -> "orderIndex:[${e.first}]" } ?: "orderIndex:[last]" } ?: "",
matchIndex?.let { it.takeIf { it.second }?.let { e -> "matchIndex:[${e.first}]" } ?: "matchIndex:[last]" } ?: ""
)