method

log

log(level, data)
public

Logs data at level if the given level is above the current log level.