diff --git a/src/main/kotlin/core/utilities/Logging.kt b/src/main/kotlin/core/utilities/Logging.kt index 25d7ba7e11..11ab8aca34 100644 --- a/src/main/kotlin/core/utilities/Logging.kt +++ b/src/main/kotlin/core/utilities/Logging.kt @@ -92,6 +92,8 @@ class BriefLogFormatter : Formatter() { } } + fun loggingOn(vararg names: String) = initVerbose(*names) + fun loggingOff(vararg names: String) = initVerbose(*names.map { "-" + it }.toTypedArray()) fun loggingOn(vararg classes: KClass<*>) = initVerbose(*classes.map { "+" + it.java.`package`.name }.toTypedArray()) fun loggingOff(vararg classes: KClass<*>) = initVerbose(*classes.map { "-" + it.java.`package`.name }.toTypedArray()) }