1 2 3 4 5
function bos/log() { { [[ ${BOS_LOG_THRESHOLD:-1} -ge "$1" ]] && shift && >&2 echo "$*" } || true}