Skip to content

decorators

tergite_autocalibration.utils.logging.decorators

Functions:

Name Description
is_logging_suppressed

Check whether the logging is suppressed.

suppress_logging

This is a decorator to prevent a function from logging.

is_logging_suppressed

is_logging_suppressed() -> bool

Check whether the logging is suppressed.

Returns:

Type Description
bool

True if it is suppressed, False otherwise.

suppress_logging

suppress_logging(fn_)

This is a decorator to prevent a function from logging.