logInfo¶
-
lsst.pipe.base.logInfo(obj, prefix, logLevel=10000)[source]¶ Log timer information to
obj.metadataandobj.log.Parameters: obj :
lsst.pipe.base.Task-typeA
Taskor any other object with these two attributes:metadataan instance oflsst.daf.base.PropertyList`(or other object withadd(name, value)method).logan instance oflsst.log.Log.
prefix
Name prefix, the resulting entries are
CpuTime, etc.. For example timeMethod usesprefix = Startwhen the method begins andprefix = Endwhen the method ends.logLevel : optional
Log level (an
lsst.loglevel constant, such aslsst.log.Log.DEBUG).Notes
Logged items include:
Utc: UTC date in ISO format (only in metadata since log entries have timestamps).CpuTime: CPU time (seconds).MaxRss: maximum resident set size.
All logged resource information is only for the current process; child processes are excluded.