chore(cli): Adding warn log (#1284)
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
7f849dfab6
commit
12e8d84c18
1 changed files with 5 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ function log () {
|
|||
echo -e "${GREEN}[INFO]" "$@" "${NC}"
|
||||
return
|
||||
;;
|
||||
warn)
|
||||
shift
|
||||
echo -e "${YELLOW}[WARN]" "$@" "${NC}"
|
||||
return
|
||||
;;
|
||||
debug)
|
||||
shift
|
||||
echo -e "${YELLOW}[DEBUG]" "$@" "${NC}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue