mirror of
https://github.com/HighCapable/Gropify.git
synced 2025-12-15 15:41:24 +08:00
refactor: update Logger usage to improve clarity and consistency
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user