How to use the plottr.log.getLogger function in plottr

To help you get started, we’ve selected a few plottr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github data-plottr / plottr / test / gui / simple_2d_plot.py View on Github external
def setup_logging():
    logger = log.getLogger()
    log.enableStreamHandler(True)
    log.LEVEL = logging.INFO
    return logger
github data-plottr / plottr / plottr / node / node.py View on Github external
def logger(self) -> Logger:
        """Get a logger for this node

        :return: logger with a name that can be traced back easily to this node.
        """
        name = self.__module__ + '.' + self.__class__.__name__ + '.' \
               + self.name()
        logger = log.getLogger()
        logger.setLevel(log.LEVEL)
        return logger
github data-plottr / plottr / plottr / apps / inspectr.py View on Github external
def logger():
    logger = plottrlog.getLogger('plottr.apps.inspectr')
    return logger