summaryrefslogtreecommitdiff
path: root/bos-meta-attribute.sh
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-08-30 14:02:22 +0100
committerdakkar <dakkar@thenautilus.net>2023-08-30 14:02:22 +0100
commit5368cd75e8086a71af7616918773f13d8d54d32b (patch)
tree96713d3185b125bc93f6824af631fc51224a1a4d /bos-meta-attribute.sh
parentnotes (diff)
downloadbash-object-system-5368cd75e8086a71af7616918773f13d8d54d32b.tar.gz
bash-object-system-5368cd75e8086a71af7616918773f13d8d54d32b.tar.bz2
bash-object-system-5368cd75e8086a71af7616918773f13d8d54d32b.zip
logging!
Diffstat (limited to 'bos-meta-attribute.sh')
-rw-r--r--bos-meta-attribute.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bos-meta-attribute.sh b/bos-meta-attribute.sh
index 1153d3a..954ea8d 100644
--- a/bos-meta-attribute.sh
+++ b/bos-meta-attribute.sh
@@ -33,7 +33,7 @@ function bos/meta/attribute/get-attribute-name-into() {
local -n bos_meta_attribute_name="$bos_meta_attribute_name_store"
- >&2 echo "get-attribute-name-into($1)<-$bos_meta_attribute_name_store"
+ bos/log 5 "get-attribute-name-into($1)<-$bos_meta_attribute_name_store"
local -n bos_meta_attribute_name_dest="$1"
bos_meta_attribute_name_dest="$bos_meta_attribute_name"
}
@@ -88,7 +88,7 @@ function bos/meta/attribute/set-value() {
assoc) eval "bos_meta_attribute_store=( ${@@Q} )" ;;
esac
- >&2 echo -n 'set-value()'; >&2 declare -p "$bos_meta_attribute_store_name"
+ bos/log 5 "set-value() $(declare -p "$bos_meta_attribute_store_name")"
return 0
}
@@ -108,7 +108,7 @@ function bos/meta/attribute/get-value-into() {
local attribute_type="$bos_meta_attribute_get_type"
local associated_class="$bos_meta_attribute_get_class"
- >&2 echo "getting ($self) ($attribute_name) ($attribute_type) ($associated_class) ($1)"
+ bos/log 5 "getting ($self) ($attribute_name) ($attribute_type) ($associated_class) ($1)"
local bos_meta_attribute_store_name; $self store-for-into bos_meta_attribute_store_name "$1"
local -n bos_meta_attribute_store="$bos_meta_attribute_store_name"
@@ -126,7 +126,7 @@ function bos/meta/attribute/get-value-into() {
;;
esac
- >&2 declare -p "$bos_meta_attribute_result_name"
+ bos/log 5 "$(declare -p "$bos_meta_attribute_result_name")"
return 0
}