in clay/config.py [0:0]
def get_logger(self, name):
'''
Returns a Logger instance that may be used to emit messages with the
given log name, respecting debug behavior.
'''
log = logging.getLogger(name)
if self.get('debug.logging', False):
log.setLevel(logging.DEBUG)
else:
log.setLevel(logging.INFO)
return log