Add NOTICE level logging

This commit is contained in:
Nathaniel Landau
2021-09-06 10:30:25 -04:00
parent 8f1bb71ba5
commit 832c0ca24e
2 changed files with 12 additions and 1 deletions

View File

@@ -137,6 +137,11 @@ _alert_() {
_writeToLog_
fi
;;
NOTICE | notice | Notice)
if [[ ${alertType} =~ ^(die|error|fatal|warning|notice|success) ]]; then
_writeToLog_
fi
;;
WARN | warn | Warn)
if [[ ${alertType} =~ ^(die|error|fatal|warning) ]]; then
_writeToLog_