mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-22 14:32:44 +00:00
Added log prefixes (#444)
This commit is contained in:
10
start-utils
10
start-utils
@@ -37,6 +37,14 @@ function isDebugging {
|
||||
|
||||
function debug {
|
||||
if isDebugging; then
|
||||
echo "DEBUG: $*"
|
||||
log "DEBUG: $*"
|
||||
fi
|
||||
}
|
||||
|
||||
function logn {
|
||||
echo -n "[init] $*"
|
||||
}
|
||||
|
||||
function log {
|
||||
echo "[init] $*"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user