class documentation
Context manager that allows for a temporary change to the level of a logging.Logger.
Example:
import logging import fiftyone.core.utils as fou with fou.LoggingLevel(logging.CRITICAL): # do things with all logging at CRITICAL with fou.LoggingLevel(logging.ERROR, logger="fiftyone"): # do things with FiftyOne logging at ERROR Args: level: the logging level to use, e.g., ``logging.ERROR`` logger (None): a ``logging.Logger`` or the name of a logger. By default, the root logger is used