X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=grpc-proxy%2Flog.h;h=459d5b526259ecafddcd002340e1fe603e5cdeb8;hb=refs%2Fchanges%2F73%2F29573%2F1;hp=d0a52758dc4b67e66e81083b940c7cc5ee762bad;hpb=59375972f5642b7ec5115fdecf4828f6af02f343;p=src%2Fagl-compositor.git diff --git a/grpc-proxy/log.h b/grpc-proxy/log.h index d0a5275..459d5b5 100644 --- a/grpc-proxy/log.h +++ b/grpc-proxy/log.h @@ -2,10 +2,10 @@ #include -//#define DEBUG +#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