pyspark.logger.PySparkLogger.exception#
- PySparkLogger.exception(msg, *args, **kwargs)[source]#
Convenience method for logging an ERROR with exception information.
- Parameters
- msgstr
The log message.
- exc_infobool = True
If True, exception information is added to the logging message. This includes the exception type, value, and traceback. Default is True.