diff --git a/includes/PrettyPrint.sh b/includes/PrettyPrint.sh index 8f821a1..86220a9 100644 --- a/includes/PrettyPrint.sh +++ b/includes/PrettyPrint.sh @@ -4,6 +4,7 @@ function print_info() NC='\033[0m' tput bold echo -e "$GREEN $1${NC}" + echo -e "$GREEN $1${NC}" >> "$LOGFILENAME" tput sgr0 } @@ -13,6 +14,7 @@ function print_error() NC='\033[0m' tput bold echo -e "$RED $1${NC}" + echo -e "$RED $1${NC}" >> "$LOGFILENAME" echo "$1" tput sgr0 } \ No newline at end of file diff --git a/project.sh b/project.sh index 21fb956..d1fbc24 100644 --- a/project.sh +++ b/project.sh @@ -59,6 +59,8 @@ if [ PreflightCheck = 1 ]; then PreflightCheck fi +echo > $LOGFILENAME + #Your custom logic here.... echo "Custom logic here..." }