mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-28 09:58:13 +01:00
Added debug() function. Useful for developers.
This commit is contained in:
parent
bd7498ff31
commit
7cdad2d751
1 changed files with 3 additions and 0 deletions
|
@ -1183,6 +1183,9 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
#### ===== SHOWLIST FUNCTIONS ====== ######
|
#### ===== SHOWLIST FUNCTIONS ====== ######
|
||||||
|
|
||||||
|
|
||||||
|
function debug(){
|
||||||
|
echo "DEBUG $(date +%H:%M:%S.%N) (${BASH_LINENO[*]}): $@" >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue