bash-utils icon indicating copy to clipboard operation
bash-utils copied to clipboard

optimization

Open ARC-yh opened this issue 4 years ago • 1 comments

log_info() { # Usage: log_info "this is the info log message" NOW=$(date +"%Y-%m-%d %H:%M:%S") echo "${NOW} [INFO] $*" }

use $* instead of $1

ARC-yh avatar Oct 14 '21 02:10 ARC-yh

@ARC-yh 提供 PR 过来? 合并进去

wklken avatar Oct 14 '21 02:10 wklken