photons.log module
Logging configuration.
- photons.log.env_level(key='PHOTONS_LOG_LEVEL')[source]
Read the logging level from an environment variable.
- Return type:
- photons.log.set_debug(*names)[source]
Show DEBUG (and above) messages from the specified loggers.
- Return type:
- photons.log.set_errors(*names)[source]
Show ERROR (and above) messages from the specified loggers.
- Return type:
- photons.log.set_info(*names)[source]
Show INFO (and above) messages from the specified loggers.
- Return type: