- #!/bin/bash
-
- YELLOW='\033[1;33m'
- BROWN='\033[0;33m'
- GREEN='\033[1;32m'
- NC='\033[0m' # No Color
-
- function log {
- echo -e "\n${YELLOW}[$(date +'%H:%M:%S')]${BROWN} $ $1${NC}"
- }
-
- function loggood {
- echo -e "\n${YELLOW}[$(date +'%H:%M:%S')]${GREEN} $ $1${NC}"
- }
|