temporaryLogLevel

lsst.log.utils.temporaryLogLevel(name, level)

A context manager that temporarily sets the level of a Log.

Parameters:
name : str

Name of the log to modify.

level : int

Integer enumeration constant indicating the temporary log level.