diff options
author | 2024-01-02 19:28:38 +0200 | |
---|---|---|
committer | 2024-01-02 19:29:22 +0200 | |
commit | e3f8379e48433d1ba9236f959c2cb4c78da4c38a (patch) | |
tree | 8b2aa80b1171cc022654923c6b8789e9d5651c42 /grpc-proxy | |
parent | ae3ef78cb1a01b690917eb8d93a3e68517a7a93d (diff) |
grpc-proxy: Add a prefix tag for debugging messages
Bug-AGL: SPEC-4977
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib26d0b9f9d47e7d2e2d42b47a9702ba31d03f3b9
Diffstat (limited to 'grpc-proxy')
-rw-r--r-- | grpc-proxy/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |