def std_formatter(msg):
    """
    Default simple string format. Dumps block-style indented yaml for dicts if found. Otherwise no formatting
    :param msg:
    :return:
    """

    if isinstance(msg, dict):
        return yaml.safe_dump(msg, indent=True, default_flow_style=False)
    return str(msg)
Default simple string format. Dumps block-style indented yaml for dicts if found. Otherwise no formatting
    :param msg:
    :return: