diff options
Diffstat (limited to 'bos-meta-class.sh')
-rw-r--r-- | bos-meta-class.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bos-meta-class.sh b/bos-meta-class.sh index a02ddb1..63a9361 100644 --- a/bos-meta-class.sh +++ b/bos-meta-class.sh @@ -95,7 +95,7 @@ function bos/meta/class/find-method-into() { done # TODO: better error / failure - >&2 echo "method $method not found via class $class" + bos/log 1 "method $method not found via class $class" return 1 } @@ -103,7 +103,7 @@ function bos/meta/class/find-method-into() { # that the class that this metaclass describe, actuall has that # attribute function bos/meta/class/get-attribute-by-name-into() { - >&2 echo "get-attribute-by-name-into($*)" + bos/log 5 "get-attribute-by-name-into($*)" local -n bos_meta_class_get_attribute_result="$1"; shift local bos_meta_class_get_attribute_name="$1" local bos_meta_class_attrs_name @@ -177,7 +177,7 @@ function bos/meta/class/invoke() { local bos_invoke_attrs_attr $bos_invoke_target_metaclass_instance get-attribute-by-name-into bos_invoke_attrs_attr 'class_attributes' - >&2 echo "for (${bos_invoke_class}->${bos_invoke_target_class}) class_attributes = $bos_invoke_attrs_attr" + bos/log 5 "for (${bos_invoke_class}->${bos_invoke_target_class}) class_attributes = $bos_invoke_attrs_attr" if [[ -n "$bos_invoke_attrs_attr" ]]; then local -A bos_invoke_attrs |