'initialize logging of data from a `CMAEvolutionStrategy` instance,
default modulo expands to 1 == log with each call'

def __init__(self, name_prefix=default_prefix, modulo=1, append=False):

    self.counter = 0
    self.best_fitness = np.inf
    self.modulo = modulo
    self.append = append
    self.name_prefix = (name_prefix if name_prefix else CMADataLogger.default_prefix)
    if (type(self.name_prefix) == CMAEvolutionStrategy):
        self.name_prefix = self.name_prefix.opts.eval('verb_filenameprefix')
    self.registered = False
