From 517a653d671672684f4e2c35f25323b4cdd059b4 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 21 Apr 2021 19:25:37 +0200 Subject: [PATCH] Annotate the Snowy logger with @JvmField --- common/src/main/kotlin/fr/username404/snowygui/Snowy.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/kotlin/fr/username404/snowygui/Snowy.kt b/common/src/main/kotlin/fr/username404/snowygui/Snowy.kt index 2019ac4..95bd834 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/Snowy.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/Snowy.kt @@ -11,7 +11,7 @@ abstract class Snowy { private val displayInitMessage: Boolean by obtained companion object { fun onEvent(e: String, lambda: argsLambda) = useKey(e).add(lambda) - @JvmStatic + @JvmField val logs: Logger = LogManager.getLogger() } private fun eventsInit() {