def logger(self):
    'Setup logging and return the logger'
    logging.config.dictConfig(self.logging)
    mylogger = getLogger('hazelsync')
    mylogger.debug('Logger initialized')
    return mylogger
Setup logging and return the logger
def logger(self):
    
    logging.config.dictConfig(self.logging)
    mylogger = getLogger('hazelsync')
    mylogger.debug('Logger initialized')
    return mylogger