„gaboshlib/g_echo_debug“ ändern

This commit is contained in:
olli 2023-01-17 09:44:29 +01:00
parent 3a42bb6b23
commit c9a71a7d2e

View File

@ -3,8 +3,7 @@
function g_echo_debug {
[ -z "$1" ] && return 0
echo -en "\033[97m$(g_date_print) \033[35mDEBUG:"
cat <<< "$@"
cat <<< "$@
$(set -o posix; set | grep '^[a-z].*=')"
echo -en "\033[0m"
[ -z $g_alltosyslog ] && return 0
g_logger $@
}