add log and exception support to logger
Closed this issue · 1 comments
jrhosk commented
See title.
jrhosk commented
This adds two additional logging options:
logger.log()
which logs according to the current logging level returned by logger.levellogger.exception
which logger at the error level but adds the exception information.
One additional things, logger.get_logger()
now returns the logger specified in $VIPER_LOGGER_NAME or a default logger 'graphviper' when no argument is given.