Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Logging

CmdrDats edited this page · 6 revisions

Logging

(: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

Something went wrong with that request. Please try again.