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

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