def log(self, string_to_log, level=6):

        #define LOG_INFO    6   /* informational */
        if level   == 6:
            self.m_logger.info(string_to_log)

        #define LOG_EMERG   0   /* system is unusable */
        #define LOG_ALERT   1   /* action must be taken immediately */
        #define LOG_CRIT    2   /* critical conditions */
        elif 2 <= level:
            self.m_logger.critical(string_to_log)

        #define LOG_ERR     3   /* error conditions */
        elif level == 3:
            self.m_logger.error(string_to_log)

        #define LOG_WARNING 4   /* warning conditions */
        elif level == 4:
            self.m_logger.warning(string_to_log)

        #define LOG_NOTICE  5   /* normal but significant condition */
        elif level == 5:
            self.m_logger.info(string_to_log)

        #define LOG_DEBUG   7   /* debug-level messages */
        else:
            self.m_logger.debug(string_to_log)

        return None
    # end of log
dataset/ETHPy150Open GetLevvel/message-simulator/src/logger.py/Logger.log/swapped operands of `<=`