CmdrDats edited this page Dec 30, 2012 · 6 revisions


(:require [cljminecraft.logging :as log])

Source: logging.clj

These are simply a collection of logging macros, info, warn, bug and debug that your plugin can use to output to the CraftBukkit console. Notice that the message and arguments are passed implicitly through (format), so that you can use :

(log/info "Player %s has fallen off a cliff and caused and NPE." player-name)

See the Java Formatter class for specifics on how the (format) function works : Formatter