Setting better log
This commit is contained in:
parent
defa564601
commit
e63f41def1
5 changed files with 27 additions and 10 deletions
9
assets/scripts/functions.sh
Normal file
9
assets/scripts/functions.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
function log() {
|
||||
# ARGS:
|
||||
# - loglevel
|
||||
# - app
|
||||
# - message
|
||||
echo [$2] $(date +"$EASYHAPROXY_DATEFORMAT") [$1]: $3
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue