Code Review
/
src
/
agl-compositor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
459d5b526259ecafddcd002340e1fe603e5cdeb8
[src/agl-compositor.git]
/
grpc-proxy
/
log.h
1
#pragma once
2
3
#include <cstdio>
4
5
#define DEBUG
6
7
#if !defined(LOG) && defined(DEBUG)
8
#define LOG(fmt, ...) do { fprintf(stderr, "gRPC:proxy:%s() " fmt, __func__, ##__VA_ARGS__); } while (0)
9
#else
10
#define LOG(fmt, ...) do {} while (0)
11
#endif