Squashed 'vendor/git.knownelement.com/KNEL/KNELShellFramework/' content from commit 5ecde81
git-subtree-dir: vendor/git.knownelement.com/KNEL/KNELShellFramework git-subtree-split: 5ecde81ce441d5802fd7e7e91a441e34f327f457
This commit is contained in:
19
Framework-Includes/PrettyPrint.sh
Normal file
19
Framework-Includes/PrettyPrint.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
function print_info()
|
||||
{
|
||||
GREEN='\033[0;32m'
|
||||
NC='\033[0m'
|
||||
tput bold
|
||||
echo -e "$GREEN $1${NC}"
|
||||
echo -e "$GREEN $1${NC}" >> "$LOGFILENAME"
|
||||
tput sgr0
|
||||
}
|
||||
|
||||
function print_error()
|
||||
{
|
||||
RED='\033[0;31m'
|
||||
NC='\033[0m'
|
||||
tput bold
|
||||
echo -e "$RED $1${NC}"
|
||||
echo -e "$RED $1${NC}" >> "$LOGFILENAME"
|
||||
tput sgr0
|
||||
}
|
Reference in New Issue
Block a user