Logger#
Classes#
|
Custom logging.Logger wrapper for PySpark that logs messages in a structured JSON format. |
Methods#
|
Return a PySparkLogger with the specified name, creating it if necessary. |
|
Add the specified handler to this logger in structured JSON format. |
|
Log 'msg % args' with severity 'INFO' in structured JSON format. |
|
Log 'msg % args' with severity 'WARNING' in structured JSON format. |
|
Log 'msg % args' with severity 'ERROR' in structured JSON format. |
|
Convenience method for logging an ERROR with exception information. |