pypet/environment.py
def _configure_logging(kwargs, extract=True):
    """Requests the logging manager to configure logging.

    :param extract:

        If naming data should be extracted from the trajectory

    """
    try:
        logging_manager = kwargs['logging_manager']
        if extract:
            logging_manager.extract_replacements(kwargs['traj'])
        logging_manager.make_logging_handlers_and_tools(multiproc=True)
    except Exception as exc:
        sys.stderr.write('Could not configure logging system because of: %s' % repr(exc))
        traceback.print_exc()
def _configure_logging(kwargs, extract=True):
    try:
        logging_manager = kwargs['logging_manager']
        if extract:
            logging_manager.extract_replacements(kwargs['traj'])
        logging_manager.make_logging_handlers_and_tools(multiproc=True)
    except Exception as exc:
        sys.stderr.write('Could not configure logging system because of: %s' % repr(exc))
        traceback.print_exc()
def _configure_logging ( kwargs , extract = True ) : try : logging_manager = kwargs [ 'logging_manager' ] if extract : logging_manager . extract_replacements ( kwargs [ 'traj' ] ) logging_manager . make_logging_handlers_and_tools ( multiproc = True ) except Exception as exc : sys . stderr . write ( 'Could not configure logging system because of: %s' % repr ( exc ) ) traceback . print_exc ( )
Requests the logging manager to configure logging.

    :param extract:

        If naming data should be extracted from the trajectory
Requests the logging manager to configure logging .