1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
raspberrypi-build/functions/logging.sh
2017-07-02 11:56:54 +00:00

13 lines
146 B
Bash
Executable file

log() {
tput setaf 2 # Green color
date +"[%T] $@"
tput sgr0 # No color
}
log_begin() {
log "Begin $1"
}
log_end() {
log "End $1"
}