10 lines
152 B
Bash
10 lines
152 B
Bash
#!/bin/bash
|
|
|
|
function g_echo {
|
|
echo -en "\033[97m$(g_date_print) "
|
|
cat <<< "$@"
|
|
echo -en "\033[0m"
|
|
[ -z $g_alltosyslog ] && return 0
|
|
g_logger $@
|
|
}
|