From: Marius Vlad Date: Tue, 2 Jan 2024 17:28:38 +0000 (+0200) Subject: grpc-proxy: Add a prefix tag for debugging messages X-Git-Tag: 17.90.0~2 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=e3f8379e48433d1ba9236f959c2cb4c78da4c38a;p=src%2Fagl-compositor.git grpc-proxy: Add a prefix tag for debugging messages Bug-AGL: SPEC-4977 Signed-off-by: Marius Vlad Change-Id: Ib26d0b9f9d47e7d2e2d42b47a9702ba31d03f3b9 --- diff --git a/grpc-proxy/log.h b/grpc-proxy/log.h index 9bbba41..459d5b5 100644 --- a/grpc-proxy/log.h +++ b/grpc-proxy/log.h @@ -5,7 +5,7 @@ #define DEBUG #if !defined(LOG) && defined(DEBUG) -#define LOG(fmt, ...) do { fprintf(stderr, "%s() " fmt, __func__, ##__VA_ARGS__); } while (0) +#define LOG(fmt, ...) do { fprintf(stderr, "gRPC:proxy:%s() " fmt, __func__, ##__VA_ARGS__); } while (0) #else #define LOG(fmt, ...) do {} while (0) #endif