Configure Logr

        @param handler: Logger message handler
        @type handler: logging.Handler or None

        @param formatter: Logger message Formatter
        @type formatter: logging.Formatter or None

def configure(level=logging.WARNING, handler=None, formatter=None):
        """Configure Logr

        @param handler: Logger message handler
        @type handler: logging.Handler or None

        @param formatter: Logger message Formatter
        @type formatter: logging.Formatter or None
        """
        if formatter is None:
            formatter = LogrFormatter()

        if handler is None:
            handler = logging.StreamHandler()

        handler.setFormatter(formatter)
        handler.setLevel(level)
        Logr.handler = handler