get_logger¶
-
imagepypelines.
get_logger
(name, pipeline=None, parent=<ImagepypelinesLogger ImagePypelines (WARNING)>)[source]¶ Creates a new child logging adapter from the given parent (root logger by default)
- Parameters
name (str) – the name of the new child logger
pipeline (Block,Pipeline) – the Pipeline object associated with this logger (optional)
parent (logging.LoggerAdapter,logging.Logger) – parent logger to spawn a new logger off of
- Returns
- a new child logger adapter with conn ids for
id, uuid, and name of the Pipeline (if applicable)
- Return type
ImagepypelinesLoggerAdapter