Skip to content

Commit

Permalink
Tetsing
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Sep 9, 2024
1 parent bd7c69d commit d5b2364
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include "${{ service_include_dir }}/${{ service_name_camel_case }}ServiceServerFactory.h"
#include "sdk/middleware/Middleware.h"
#include "sdk/Logger.h"

#include <grpcpp/ext/proto_server_reflection_plugin.h>
#include <grpcpp/grpcpp.h>
Expand All @@ -38,7 +39,8 @@ std::unique_ptr<grpc::Server> ${{ service_name_camel_case }}ServiceServerFactory
builder.RegisterService(service.get());
// Finally assemble the server.
std::unique_ptr<grpc::Server> server(builder.BuildAndStart());
std::cout << "Server listening on " << serviceLocation << std::endl;
//std::codut << "Server listening on " << serviceLocation << std::endl;
velocitas::logger().info("Server listening on {}", serviceLocation);

return server;
}
Expand Down

0 comments on commit d5b2364

Please sign in to comment.