AbstractLogger#

class ioh.iohcpp.logger.AbstractLogger(self: ioh.iohcpp.logger.AbstractLogger, triggers: List[ioh.iohcpp.logger.trigger.Trigger] = [], properties: List[ioh.iohcpp.logger.property.AbstractProperty] = [])#

Bases: Logger

Base class for loggers which track properties

Attributes Summary

problem

Reference to the currently attached problem

Methods Summary

add_trigger(self, arg0)

Add a trigger to the logger

call(self, arg0)

Performs logging behaviour

reset(self)

Reset the state of the logger

watch(self, arg0)

Attributes Documentation

problem#

Reference to the currently attached problem

Methods Documentation

add_trigger(self: ioh.iohcpp.logger.Logger, arg0: ioh.iohcpp.logger.trigger.Trigger) None#

Add a trigger to the logger

call(self: ioh.iohcpp.logger.Logger, arg0: ioh.iohcpp.LogInfo) None#

Performs logging behaviour

reset(self: ioh.iohcpp.logger.Logger) None#

Reset the state of the logger

watch(self: ioh.iohcpp.logger.AbstractLogger, arg0: ioh.iohcpp.logger.property.AbstractProperty) None#