|
@@ -125,8 +125,8 @@ class Logger(object):
|
125
|
125
|
def debug(self, instance_or_class, message):
|
126
|
126
|
self._logger.debug(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
|
127
|
127
|
|
128
|
|
- def error(self, instance_or_class, message):
|
129
|
|
- self._logger.error(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
|
|
128
|
+ def error(self, instance_or_class, message, exc_info=0):
|
|
129
|
+ self._logger.error(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message, exc_info=exc_info))
|
130
|
130
|
|
131
|
131
|
def info(self, instance_or_class, message):
|
132
|
132
|
self._logger.info(Logger.TPL.format(cls=self._txt(instance_or_class), msg=message))
|