V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 39s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 39s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -50,7 +50,7 @@ do_should_log() {
|
|||||||
# Log level color retriever.
|
# Log level color retriever.
|
||||||
# Globals:
|
# Globals:
|
||||||
# BLU
|
# BLU
|
||||||
# C_GRN
|
# GRE
|
||||||
# MAG
|
# MAG
|
||||||
# RED
|
# RED
|
||||||
# WHI
|
# WHI
|
||||||
@@ -61,7 +61,7 @@ do_should_log() {
|
|||||||
do_get_log_color() {
|
do_get_log_color() {
|
||||||
case "${1,,}" in
|
case "${1,,}" in
|
||||||
debug) echo "${WHI}" ;;
|
debug) echo "${WHI}" ;;
|
||||||
info) echo "${C_GRN}" ;;
|
info) echo "${GRE}" ;;
|
||||||
notice) echo "${YEL}" ;;
|
notice) echo "${YEL}" ;;
|
||||||
warn | error | critical) echo "${RED}" ;;
|
warn | error | critical) echo "${RED}" ;;
|
||||||
fatal | emergency) echo "${MAG}" ;;
|
fatal | emergency) echo "${MAG}" ;;
|
||||||
|
|||||||
Reference in New Issue
Block a user