'Setup so that we can do logging'

def processWrapperParams(self, options):

    fh = None
    if (options.LogFile is not None):
        print 'logging    to    file'
        fh = exma.openEMForWriting(options.OutConfig)
        logger = get_logger(options.LogFile)
    else:
        print 'logging    to    stdout'
        fh = exma.openEMForWriting(None)
        logger = get_logger(None)
    return (fh, logger)
