#pragma once #include #include "connections.h" #include "auth.h" #include "address.h" template <> struct fmt::formatter : fmt::formatter { auto format(oxenmq::AuthLevel v, format_context& ctx) { return formatter::format( fmt::format("{}", to_string(v)), ctx); } }; template <> struct fmt::formatter : fmt::formatter { auto format(oxenmq::ConnectionID conn, format_context& ctx) { return formatter::format( fmt::format("{}", conn.to_string()), ctx); } }; template <> struct fmt::formatter : fmt::formatter { auto format(oxenmq::address addr, format_context& ctx) { return formatter::format( fmt::format("{}", addr.full_address()), ctx); } };