Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version



IgnisLogger(name[, level])A logger class for Ignis
IgnisLogging([log_config_path])Singleton class to configure file logging via IgnisLogger
IgnisLogReader()Class to read from Ignis log files


class IgnisLogger(name, level=0)

GitHub(opens in a new tab)

A logger class for Ignis

IgnisLogger is a like any other logging.Logger object except it has an additional method, log_to_file(), used to log data in the form of key:value pairs to a log file. Logging configuration is performed via a configuration file and is handled by IgnisLogging.

Refer to Python’s logging documentation for more details on how to use logging in Python

Initialize the IgnisLogger object


  • name (str) – name of the logger. Usually set to package name using __name__
  • level (logging.NOTSET) – Verbosity level (use logging package enums)
Was this page helpful?
Report a bug or request content on GitHub.