Logging Functions

functions/logging.sh contains functions to help with logging.

log.debug

Prints a log message at debug level. This message will only appear if run in DEBUG mode.

log.debug "Foobar"

log.error

Prints a log message at error level.

log.error "Foobar"

log.info

Prints a log message at info level.

log.info "Foobar"

log.warn

Prints a log message at warn level.

log.warn "Foobar"