def METHOD_NAME (self, msg, newline = True, flush = False):
    """
        Logs a message with 'warning' level
    """
    self.__log(msg, level = Logger.__LEVEL_WARNING, newline = newline, flush = flush)