„gaboshlib/g_echo_debug“ ändern
This commit is contained in:
parent
3a42bb6b23
commit
c9a71a7d2e
@ -3,8 +3,7 @@
|
|||||||
function g_echo_debug {
|
function g_echo_debug {
|
||||||
[ -z "$1" ] && return 0
|
[ -z "$1" ] && return 0
|
||||||
echo -en "\033[97m$(g_date_print) \033[35mDEBUG:"
|
echo -en "\033[97m$(g_date_print) \033[35mDEBUG:"
|
||||||
cat <<< "$@"
|
cat <<< "$@
|
||||||
|
$(set -o posix; set | grep '^[a-z].*=')"
|
||||||
echo -en "\033[0m"
|
echo -en "\033[0m"
|
||||||
[ -z $g_alltosyslog ] && return 0
|
|
||||||
g_logger $@
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user