def METHOD_NAME(self, text, my):
    tag = "mytext" if my else "text"
    text_buffer = self.readView.get_buffer()
    tb_iter = text_buffer.get_end_iter()
    # Messages have linebreak before the text. This is opposite to log
    # messages
    if text_buffer.props.text:
        text_buffer.insert(tb_iter, "\n")
    time = strftime("%H:%M:%S")
    text_buffer.insert_with_tags_by_name(tb_iter, "(%s) " % time, tag)
    insert_formatted(self.readView, tb_iter, text, tag=tag)