Developing new modules


#1

I am trying to develop a custom module for CellProfiler. How can I view any messages that are written to standard out in my module ? Are there any built-in facilities for logging useful messages while running a pipeline ?
Thanks !


#2

Hi,

We use python’s standard logging facility. So, use something like

import logging logger = logging.getLogger(__package__) logger.warning(...) logger.info(...)
Hope that helps,
David