Combine#

class ioh.iohcpp.logger.Combine(*args, **kwargs)#

Bases: Logger

Utility class to combine multiple loggers

Overloaded function.

  1. __init__(self: ioh.iohcpp.logger.Combine, loggers: List[ioh.iohcpp.logger.Logger]) -> None

  2. __init__(self: ioh.iohcpp.logger.Combine, logger: ioh.iohcpp.logger.Logger) -> None

Attributes Summary

problem

Reference to the currently attached problem

Methods Summary

add_trigger(self, arg0)

Add a trigger to the logger

append(self, arg0)

call(self, arg0)

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: ioh.iohcpp.logger.Logger, arg0: ioh.iohcpp.logger.trigger.Trigger) None#

Add a trigger to the logger

append(self: ioh.iohcpp.logger.Combine, arg0: ioh.iohcpp.logger.Logger) None#
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