Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/e/o/eoldas-1.1.0/eoldas/eoldas_Lib.py   eoldas(Download)
    import logging
    import time
    from eoldas_Lib import set_up_logfile,dummyprint
 
    if type(self).__name__  == 'SpecialVariable' and logger != None:
        logger.error = lambda x:dummyprint( "Error: %s"%x)
        return logger
    logger = set_up_logfile(logfile,name=name,logdir=logdir,debug=debug)
    return logger
 

src/e/o/eoldas-1.1.0/eoldas/eoldas_State.py   eoldas(Download)
        '''
        import logging
        from eoldas_Lib import set_up_logfile
        try:
           self.logger.shutdown()
        logdir = log_terms['logdir'] or self.options.logdir
        name = name or self.options.thisname
        self.logger = set_up_logfile(logfile,\
                                     name=name,logdir=logdir)