Pass all args through when logging

pull/413/head
Seth Fitzsimmons 2016-10-24 17:46:58 -06:00
rodzic 598ab94446
commit 2877d42e20
1 zmienionych plików z 5 dodań i 19 usunięć

Wyświetl plik

@ -18,22 +18,8 @@ logging.basicConfig(level=logging.DEBUG,
format='%(levelname)-14s %(message)s' + ENDC)
def ODM_INFO(str):
logging.info(str)
def ODM_WARNING(str):
logging.warning(str)
def ODM_ERROR(str):
logging.error(str)
def ODM_EXCEPTION(str):
logging.exception(str)
def ODM_DEBUG(str):
logging.debug(str)
ODM_INFO = logging.info
ODM_WARNING = logging.warning
ODM_ERROR = logging.error
ODM_EXCEPTION = logging.exception
ODM_DEBUG = logging.debug