feat: migrate logger to slf4j

This commit is contained in:
oSumAtrIX
2022-06-22 14:17:13 +02:00
parent ce78b245d1
commit 6c4c1924ee
3 changed files with 6 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ fun Patcher.addPatchesFiltered(
return@patch
}
if (compatiblePackages == null) logger.warning("$prefix: Missing compatibility annotation. Continuing.")
if (compatiblePackages == null) logger.warn("$prefix: Missing compatibility annotation. Continuing.")
else {
if (!compatiblePackages.any { it.name == packageName }) {
logger.info("$prefix: Incompatible package")
@@ -63,7 +63,7 @@ fun Patcher.applyPatchesVerbose() {
return@forEach
}
logger.severe("Error: $patch")
logger.error("Error: $patch")
result.exceptionOrNull()!!.printStackTrace()
}