Here is a N00B question, but I can not find the answer by Googling, or
reading Stuart's book. So, I assume that others will want to find this
FAQ in the future.
I am calling legacy code, and I need to set the level on the Java Logger.
In Java it would look like this
import java.util.logging.Logger
import java.util.logging.Level
Logger.getLogger("").setLevel(Level.WARNING)
What is the Clojure equivalent? In particular, what is the equivalent
of Level.WARNING?
Am 24.11.2009 um 22:39 schrieb Peter Wolf:
> Logger.getLogger("").setLevel(Level.WARNING)
(.setLevel (Logger/getLogger "") Level/WARNING)
Methods: obj.method(args) => (.method obj args)
Static methods: Class.method(args) => (Class/method args)
Static members: Class.MEMBER => Class/MEMBER
Sincerely
Meikel