Logger

class ioh.iohcpp.logger.Logger

Bases: object

Base class for all loggers

Attributes Summary

problem

Reference to the currently attached problem

Methods Summary

add_trigger(self, arg, /)

Add a trigger to the logger

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

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

Performs logging behaviour

reset(self) → None

Reset the state of the logger