Logger is now an attribute of the execution context
This commit is contained in:
@@ -29,10 +29,10 @@ class EvalEvaluator(AllReturnValuesEvaluator):
|
||||
|
||||
for ret_val in return_values:
|
||||
if ret_val.status and isinstance(ret_val.body, Concept) and ret_val.body.body:
|
||||
context.log(self.verbose_log, f"Evaluating {ret_val.body}", who=self)
|
||||
context.log(f"Evaluating {ret_val.body}", who=self)
|
||||
result.append(sheerka.ret(self.name, True, ret_val.body.body, parents=[ret_val, self.eval_requested]))
|
||||
elif ret_val.status and sheerka.isaset(context, ret_val.body):
|
||||
context.log(self.verbose_log, f"Evaluating set {ret_val.body}", who=self)
|
||||
context.log(f"Evaluating set {ret_val.body}", who=self)
|
||||
result.append(sheerka.ret(
|
||||
self.name,
|
||||
True,
|
||||
|
||||
Reference in New Issue
Block a user