docker-GLPI/service/template
root 9133564455 Correction du bug cron
Ajout de couleurs dans les logs
2020-08-06 16:20:43 +02:00

8 lines
112 B
Plaintext

NORMAL='\e[39m'
RED='\e[31m'
msglog() {
DATE=$(date '+%Y %b %d %H:%M:%S')
echo ${DATE} ${RED}${@}${NORMAL}
}