logInfo¶
- 
lsst.pipe.base.logInfo(obj, prefix, logLevel=10, metadata=None, logger=None)¶
- Log timer information to - obj.metadataand- obj.log.- Parameters: - obj : lsst.pipe.base.Task-type orNone
- A - Taskor any other object with these two attributes:- metadataan instance of- TaskMetadata(or other object with- add(name, value)method).
- logan instance of- logging.Loggeror subclass.
 - If - None, at least one of- metadataor- loggershould be passed or this function will do nothing.
- prefix : str
- Name prefix, the resulting entries are - CpuTime, etc.. For example timeMethod uses- prefix = Startwhen the method begins and- prefix = Endwhen the method ends.
- logLevel : int, optional
- Log level (an - logginglevel constant, such as- logging.DEBUG).
- metadata : lsst.pipe.base.TaskMetadata, optional
- Metadata object to write entries to, overriding - obj.metadata.
- logger : logging.Logger
- Log object to write entries to, overriding - obj.log.
 - Deprecated since version v24: logInfo has been replaced by lsst.utils.timer.logInfo. Will be removed after v25. 
- obj :