AbstractLogger¶
- class ioh.iohcpp.logger.AbstractLogger(self, triggers: collections.abc.Sequence[ioh.iohcpp.logger.trigger.Trigger] = [], properties: collections.abc.Sequence[ioh.iohcpp.logger.property.AbstractProperty] = [])¶
Bases:
LoggerBase class for loggers which track properties
Attributes Summary
Reference to the currently attached problem
Methods Summary
add_trigger(self, arg, /)Add a trigger to the logger
attach_problem(self, problem)attach a problem (MetaData) to a logger
call(self, arg, /)Performs logging behaviour
reset(self)Reset the state of the logger
watch(self, arg, /)Attributes Documentation
- problem¶
Reference to the currently attached problem
Methods Documentation
- add_trigger(self, arg: ioh.iohcpp.logger.trigger.Trigger, /) None¶
Add a trigger to the logger
- attach_problem(self, problem: ioh.iohcpp.MetaData) None¶
attach a problem (MetaData) to a logger
- call(self, arg: ioh.iohcpp.LogInfo, /) None¶
Performs logging behaviour
- reset(self) None¶
Reset the state of the logger
- watch(self, arg: ioh.iohcpp.logger.property.AbstractProperty, /) None¶