getTaskLogger¶
-
lsst.pipe.base.
getTaskLogger
(name=None, logger=None)¶ Get a logger compatible with LSST usage.
Parameters: - name :
str
, optional Name of the logger. Root logger if
None
.- logger :
logging.Logger
If given the logger is converted to the relevant logger class. If
name
is given the logger is assumed to be a child of the supplied logger.
- logger :
Returns: - logger :
lsst.utils.logging.LsstLogAdapter
The relevant logger.
Deprecated since version v24: getTaskLogger has been replaced by lsst.utils.logging.getLogger. Will be removed after v24.
- name :