temporaryLogLevel

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

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

Parameters:
namestr

Name of the log to modify.

levelint

Integer enumeration constant indicating the temporary log level.