mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Indent.
This commit is contained in:
parent
e8bdd888a7
commit
94082e1251
1 changed files with 7 additions and 5 deletions
|
@ -5,6 +5,8 @@ import com.beust.kobalt.AsciiArt
|
|||
import com.beust.kobalt.KobaltException
|
||||
import com.beust.kobalt.api.Kobalt
|
||||
import com.beust.kobalt.maven.aether.Exceptions
|
||||
import jdk.nashorn.internal.objects.Global.print
|
||||
import java.lang.Exception
|
||||
import java.time.LocalDateTime
|
||||
import java.time.format.DateTimeFormatter
|
||||
|
||||
|
@ -51,11 +53,11 @@ object KobaltLogger {
|
|||
var LOG_LEVEL: Int = 1
|
||||
|
||||
val logger: Logger get() =
|
||||
if (Kobalt.context != null) {
|
||||
Logger(Kobalt.context!!.args.dev)
|
||||
} else {
|
||||
Logger(false)
|
||||
}
|
||||
if (Kobalt.context != null) {
|
||||
Logger(Kobalt.context!!.args.dev)
|
||||
} else {
|
||||
Logger(false)
|
||||
}
|
||||
}
|
||||
|
||||
class Logger(val dev: Boolean) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue