How to access log4j's "final static public Level INFO"?


#1

The following code gives the compiler error "Unresolved reference: INFO" for both lines. What am I missing?

import org.apache.log4j.Level

fun main(args : Array<String>) {
  val level1 = Level.INFO
  val level2 : org.apache.log4j.Level = org.apache.log4j.Level.INFO
}


#2

It's a bug. Please, report it to our tracker. Thanks


#3

Thanks, it's now reported as KT-1880