def METHOD_NAME(self, entry, stdout_style):
    from testplan.testing.base import ASSERTION_INDENT
    logger = self[entry]()
    header = logger.get_header(entry)
    details = logger.get_details(entry) or ""
    output_style = stdout_style.get_style(passing=bool(entry))
    if header is None:
        raise ValueError(
            "Empty header returned by"
            " {logger} for {entry}".format(logger=logger, entry=entry)
        )
    header_msg = self.indented_msg(header, ASSERTION_INDENT)
    details_msg = self.indented_msg(details, ASSERTION_INDENT + 2)
    if output_style.display_assertion:
        self.logger.user_info(header_msg)
    if details and output_style.display_assertion_detail:
        self.logger.user_info(details_msg)