feat: improve missing compatibility annotation tracing log

This commit is contained in:
oSumAtrIX 2022-12-14 22:42:22 +01:00
parent 512152fb66
commit 2c7eb7274c
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List<Class<out Patch<Context>>>) {
return@patchLoop
}
if (compatiblePackages == null) logger.trace("$prefix: Missing compatibility annotation. Continuing.")
if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.")
else {
if (!compatiblePackages.any { it.name == packageName }) {
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${