def emit(self, msg):
        # print msg
        self.pre_init_logs.append(msg)
Register a callable as a template filter. Example:
dataset/ETHPy150Open duerrp/pyexperiment/pyexperiment/Logger.py/PreInitLogHandler.emit--crossover with--dataset/ETHPy150Open django/django/django/template/library.py/Library.filter