added logging helpers
This commit is contained in:
parent
a7b1d8d712
commit
c58db2335a
1 changed files with 3 additions and 0 deletions
3
logging.bash
Normal file
3
logging.bash
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
errcho() { (>&2 echo $@); }
|
||||
errcat() { (>&2 cat <<<"$@"); }
|
||||
die() { errcho $@; exit 1; }
|
||||
Loading…
Add table
Add a link
Reference in a new issue