/*! * This function creates a formatter for the MyScopes attribute. * It effectively associates the attribute with the scope_list_formatter class */ formatter_type create_formatter( logging::attribute_name const& attr_name, args_map const& args) { return formatter_type(scope_list_formatter(attr_name)); }
/*! * This function creates a formatter for the MyScopes attribute. * It effectively associates the attribute with the scope_list_formatter class */ types::formatter_type my_scopes_formatter_factory( types::string_type const& attr_name, types::formatter_factory_args const& args) { return types::formatter_type(scope_list_formatter(attr_name)); }