logging.sh 194 Bytes
Newer Older
Jyotish P's avatar
Jyotish P committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

log_info() {
  echo -e "\033[0;36m$@\033[0m"
}

log_success() {
  echo -e "\033[0;32m$@\033[0m"
}

log_normal() {
  echo -e "$@"
}

log_error() {
  echo -e "\033[0;31m$@\033[0m"
}