package Ġreal jen ius . ever note . notes l ur p . io Ċ Ċ import Ġch . qos . log back . classic . Level Ċ import Ġcom . github . aj alt . cli kt . core . Cli kt Command Ċ import Ġorg . slf 4 j . Logger Ċ import Ġorg . slf 4 j . LoggerFactory Ċ Ċ fun ĠCli kt Command . info ( log : ĠString ) Ġ= Ġcurrent Context . console . print ( log , Ġfalse ) Ċ fun ĠCli kt Command . error ( log : ĠString ) Ġ= Ġcurrent Context . console . print ( log , Ġtrue ) Ċ Ċ fun Ġtoggle Debug ( bool : ĠBoolean ) Ġ= Ġif Ġ( bool ) Ġenable Debug () Ġelse Ġdisable Debug () Ċ fun Ġenable Debug () Ġ= Ġset Root Level ( Level . DEBUG ) Ċ fun Ġdisable Debug () Ġ= Ġset Root Level ( Level . INFO ) Ċ Ċ private Ġfun Ġset Root Level ( level : ĠLevel ) Ġ{ ĊĠ Ġ( LoggerFactory . getLogger ( Logger . ROOT _ LOGGER _ NAME ) Ġas Ġch . qos . log back . classic . Logger ). level Ġ= Ġlevel Ċ }