summaryrefslogtreecommitdiffstats
path: root/net/tools/flip_server/other_defines.h
blob: ed824e47a872c5112416b2818836dd641068d58d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
#define NET_TOOLS_FLIP_SERVER_OTHER_DEFINES

class NullStream {
 public:
  NullStream() {}
  template <typename T>
  NullStream operator<<(T t) { return *this;}
};

#define VLOG(X) NullStream()
#define DVLOG(X) NullStream()


#endif  // NET_TOOLS_FLIP_SERVER_OTHER_DEFINES