refactor: update Logger usage to improve clarity and consistency

This commit is contained in:
2025-11-13 13:22:12 +08:00
parent d98f101945
commit 24709d1993
6 changed files with 27 additions and 21 deletions

View File

@@ -56,7 +56,7 @@ class GropifyPlugin<T : ExtensionAware> internal constructor() : Plugin<T> {
}
}
}
is Project -> Logger.init(target).error(
is Project -> Logger.with(target).error(
"Gropify can only applied in settings.gradle or settings.gradle.kts, but current is $target, stop loading.",
)
else -> Gropify.error("Gropify applied to an unknown target: $target, stop loading.")