Add log level configuration and debug option

This commit is contained in:
Alexandre
2026-02-05 09:21:27 +01:00
committed by GitHub
parent 9cd110f4b9
commit 97615a1fad

View File

@@ -8,7 +8,9 @@ config["MySelf"]="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/$(basename "${BA
declare -a dns_servers_ipv4=()
declare -a dns_servers_ipv6=()
log_level="$(bashio::config "log_level")"
[[ "$log_level" == "debug" ]] && set -x
_parse_config() {
local -n config_ref="$1"