'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.file_names = ('axlen', 'fit', 'stddev', 'xmean', 'xrecentbest')
    self.key_names = ('D', 'f', 'std', 'xmean', 'xrecent')
    self.key_names_with_annotation = ('std', 'xmean', 'xrecent')
    self.modulo = modulo
    self.append = append
    self.counter = 0
    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
