Added debug() function. Useful for developers.

This commit is contained in:
Matteo Rossini 2016-01-30 14:46:31 +01:00
parent bd7498ff31
commit 7cdad2d751

View file

@ -1183,6 +1183,9 @@ if [ "$SLACKPKGPLUS" = "on" ];then
#### ===== SHOWLIST FUNCTIONS ====== ######
function debug(){
echo "DEBUG $(date +%H:%M:%S.%N) (${BASH_LINENO[*]}): $@" >&2
}