示例#1
0
 def setup_logging(self, loglevel='WARNING', logfile=None, **kwargs):
     return setup_logging(loglevel, logfile)
示例#2
0
文件: cyme.py 项目: ask/cyme
 def drop_into_shell(self):
     from cyme.utils import setup_logging
     if os.environ.get("CYME_LOG_DEBUG"):
         setup_logging("DEBUG")
     self.env.management.call_command("shell")
示例#3
0
 def drop_into_shell(self):
     from cyme.utils import setup_logging
     if os.environ.get('CYME_LOG_DEBUG'):
         setup_logging('DEBUG')
     self.env.management.call_command('shell')
示例#4
0
文件: cyme.py 项目: adamchainz/cyme
 def drop_into_shell(self):
     from cyme.utils import setup_logging
     if os.environ.get('CYME_LOG_DEBUG'):
         setup_logging('DEBUG')
     self.env.management.call_command('shell')