Added error log highlighting

This commit is contained in:
deajan 2015-08-30 17:06:43 +02:00
parent b04891b6c7
commit 1e13d259cb
2 changed files with 4 additions and 3 deletions

View File

@ -21,7 +21,7 @@ UNDER WORK
CHANGELOG CHANGELOG
--------- ---------
- Improved some logging - Improved some logging, also added highlighting to stdout errors
- Backported some fixes from Osync - Backported some fixes from Osync
- Small improvements on install script - Small improvements on install script
- Copy ssh_filter.sh from osync project - Copy ssh_filter.sh from osync project

View File

@ -97,8 +97,9 @@ function Log
function LogError function LogError
{ {
Log "$1" # \e[93m = light yellow, \e[0m = normal
error_alert=1 Log "\e[93m$1\e[0m"
error_alert=1
} }
function LogDebug function LogDebug