armbian-next: the great aggregation rewrite: pt 0: SHOW_AGGREGATION debug logging

This commit is contained in:
Ricardo Pardini
2022-10-31 13:37:04 +01:00
parent 9fbbe897cd
commit 93f0545519
2 changed files with 17 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ function display_alert() {
if [[ "${SHOW_EXTENSIONS}" != "yes" ]]; then # enable to log a lot about extensions, hook methos, etc.
skip_screen=1
fi
level_indicator="🎣" # fishing pole and "hook"
level_indicator="🎣" # fishing pole and "hook"
inline_logs_color="\e[0;36m" # a dim cyan
;;
@@ -227,6 +227,14 @@ function display_alert() {
inline_logs_color="${tool_color}" # either gray or normal, a bit subdued.
;;
aggregation)
if [[ "${SHOW_AGGREGATION}" != "yes" ]]; then # aggregation (PACKAGE LISTS), very very verbose
skip_screen=1
fi
level_indicator="📦"
inline_logs_color="\e[0;32m"
;;
*)
level="${level:-other}" # for file logging.
level_indicator="🌿"