Testing & logging · BUILT-IN MODULE
log
Logging helpers.
Quick start
use log
log.level "info"
log.info "SE started"
log.warn "Example warning"API reference
log.level nameSet logging threshold.
設定 logging threshold.
log.debug messageWrite a debug log.
寫入 a debug log.
log.info messageWrite an info log.
寫入 an info log.
log.warn messageWrite a warning log.
寫入 a warning log.
log.error messageWrite an error log.
寫入 an error log.