layout: Migrate the layout save/restore to a more useful place
[src/agl-compositor.git] / grpc-proxy / log.h
index d0a5275..459d5b5 100644 (file)
@@ -2,10 +2,10 @@
 
 #include <cstdio>
 
-//#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