qml.logging.enable_logging

enable_logging()[source]

This method allows to selectively enable logging throughout PennyLane, following the configuration options defined in the log_config.toml file.

Enabling logging through this method will override any externally defined logging configurations.

Example

>>> qml.logging.enable_logging()