Fix logging
This commit is contained in:
parent
ba8db2a5bb
commit
2a6016b717
1 changed files with 1 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
|||
log() {
|
||||
tput setaf 2 # Green color
|
||||
date +"[%T] $@"
|
||||
date +"[%T] $@" | tee -a "$LOG_FILE"
|
||||
tput sgr0 # No color
|
||||
|
||||
date +"[%T] $@" >> "$LOG_FILE"
|
||||
}
|
||||
|
||||
log_begin() {
|
||||
|
|
Reference in a new issue