Combine

class ioh.iohcpp.logger.Combine(self, loggers: collections.abc.Sequence[ioh.iohcpp.logger.Logger])
class ioh.iohcpp.logger.Combine(self, logger: ioh.iohcpp.logger.Logger)

Bases: Logger

Utility class to combine multiple loggers

Attributes Summary

problem

Reference to the currently attached problem

Methods Summary

add_trigger(self, arg, /)

Add a trigger to the logger

append(self, arg, /)

call(self, arg, /)

Performs logging behaviour

reset(self)

Reset the state of the logger

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

append(self, arg: ioh.iohcpp.logger.Logger, /) → None
call(self, arg: ioh.iohcpp.LogInfo, /) → None

Performs logging behaviour

reset(self) → None

Reset the state of the logger