this.logLevels
logbox.system.logging.LogLevels
class.boolean canLog(numeric level)
can{severity}()
method for each severity level.boolean can{severity}()
void setCategory(category)
Logger getRootLogger()
numeric getLevelMin()
void setLevelMin(level)
numeric getLevelMax()
void setLevelMax(level)
fatal(string message, [any extraInfo=""])
error(string message, [any extraInfo=""])
warn(string message, [any extraInfo=""])
info(string message, [any extraInfo=""])
debug(string message, [any extraInfo=""])
logMessage(string message, numeric severity, [any extraInfo=""])
extraInfo
. This extraInfo
argument can be anything from a string, a structure, a query or whatever. This way you can send in a complex structure that the appenders will serialize into message form or log into the appropriate channel. Thus, extraInfo
can be very handy when you are building your own custom appenders.