Autopause logs (#539)

This commit is contained in:
Michael Kirsch
2020-05-23 16:15:10 +02:00
committed by GitHub
parent b11806e341
commit f2806d9335
5 changed files with 29 additions and 20 deletions
+8
View File
@@ -49,6 +49,14 @@ function log {
echo "[init] $*"
}
function logAutopause {
echo "[Autopause loop] $*"
}
function logAutopauseAction {
echo "[$(date -Iseconds)] [Autopause] $*"
}
function normalizeMemSize {
local scale=1
case ${1,,} in