78struct formatter<T,
typename std::enable_if_t<std::is_base_of_v<google::protobuf::Message, std::decay_t<T>>,
char>> {
79 constexpr auto parse(format_parse_context& ctx) {
return ctx.begin(); }
81 template <
typename FormatContext>
82 auto format(
const T& message, FormatContext& ctx)
const {
83 return fmt::format_to(
86 USERVER_NAMESPACE::ugrpc::ToLimitedDebugString(message, USERVER_NAMESPACE::ugrpc::kDefaultDebugStringLimit)