#pragma once #include #include "envoy/server/access_log_config.h" namespace Envoy { namespace Extensions { namespace AccessLoggers { namespace TcpGrpc { /** * Config registration for the TCP gRPC access log. @see AccessLogInstanceFactory. */ class TcpGrpcAccessLogFactory : public Server::Configuration::AccessLogInstanceFactory { public: AccessLog::InstanceSharedPtr createAccessLogInstance(const Protobuf::Message& config, AccessLog::FilterPtr&& filter, Server::Configuration::FactoryContext& context) override; ProtobufTypes::MessagePtr createEmptyConfigProto() override; std::string name() const override; }; } // namespace TcpGrpc } // namespace AccessLoggers } // namespace Extensions } // namespace Envoy