Code Review
/
src
/
agl-compositor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9bbba41405679af32d39baa17f99629763964962
[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, "%s() " fmt, __func__, ##__VA_ARGS__); } while (0)
9
#else
10
#define LOG(fmt, ...) do {} while (0)
11
#endif