remote empty lines in output

This commit is contained in:
Jakobus Schürz 2021-12-03 09:00:40 +01:00
parent 391374c32f
commit d6d851e51c

View file

@ -60,6 +60,7 @@ function logerror(){
;;
esac
local msg="$1"
[ -z "${msg:+x}" ] && return 0
timeAndDate=`date`
local loglevels
declare -a loglevels
@ -81,6 +82,7 @@ function logwarn(){
;;
esac
local msg="$1"
[ -z "${msg:+x}" ] && return 0
timeAndDate=`date`
local loglevels
declare -a loglevels
@ -102,6 +104,7 @@ function loginfo(){
;;
esac
local msg="$1"
[ -z "${msg:+x}" ] && return 0
timeAndDate=`date`
local loglevels
declare -a loglevels
@ -124,6 +127,7 @@ function logdebug(){
;;
esac
local msg="$1"
[ -z "${msg:+x}" ] && return 0
timeAndDate=`date`
local loglevels
declare -a loglevels
@ -145,6 +149,7 @@ function logtrace(){
;;
esac
local msg="$1"
[ -z "${msg:+x}" ] && return 0
timeAndDate=`date`
local loglevels
declare -a loglevels