add_log_level(log_level: str)
Parameter | Type | Required | Description |
log_level | str | Yes | Logging level to be used by the SDK. |
Type | Description |
PageSenseSDKOptions | Returns the same SDK options instance to support method chaining. |
from pagesense import PageSenseSDKOptions
sdk_options = (
PageSenseSDKOptions()
.add_log_level("DEBUG")
)
Log Level | Description |
TRACE | Provides the most detailed diagnostic information. Primarily intended for troubleshooting complex SDK behaviour. |
DEBUG | Provides detailed information useful during development and debugging. |
INFO | Provides general SDK information. This is the default log level. |
WARNING | Reports recoverable issues that do not interrupt SDK execution. |
ERROR | Reports errors that may affect SDK functionality. |
FATAL | Reports critical failures that prevent normal SDK operation. |
