11.1.4.1. Logging

PySpice.Logging.Logging.setup_logging(application_name='PySpice', config_file='logging.yml', logging_level=None)[source]

Setup the logging.

Logging configuration is set by a YAML file given by config_file. Alternatively we can set the logging level using the environment variable ‘PySpiceLogLevel’ or using logging_level, level can be a integer or a string