We're celebrating World Quantum Day 2022! Join us

cirq.transformers.LogLevel

Different logging resolution options for cirq.TransformerLogger.

The enum values of the logging levels are used to filter the stored logs when printing. In general, a logging level X includes all logs stored at a level >= 'X'.

ALL All levels. Used to filter logs when printing.
DEBUG Designates fine-grained informational events that are most useful to debug / understand in-depth any unexpected behavior of the transformer.
INFO Designates informational messages that highlight the actions of a transformer.
WARNING Designates unwanted or potentially harmful situations.
NONE No levels. Used to filter logs when printing.

ALL <LogLevel.ALL: 0>
DEBUG <LogLevel.DEBUG: 10>
INFO <LogLevel.INFO: 20>
NONE <LogLevel.NONE: 40>
WARNING <LogLevel.WARNING: 30>