#ifndef BENCHMARK_LOG_H_
#define BENCHMARK_LOG_H_
#include <iostream>
#include <ostream>
#if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L)
#define BENCHMARK_HAS_CXX11
#endif
namespace benchmark {
namespace internal {
EndLType;
class LogType { … };
template <class Tp>
LogType& operator<<(LogType& log, Tp const& value) { … }
inline LogType& operator<<(LogType& log, EndLType* m) { … }
inline int& LogLevel() { … }
inline LogType& GetNullLogInstance() { … }
inline LogType& GetErrorLogInstance() { … }
inline LogType& GetLogInstanceForLevel(int level) { … }
}
}
#define BM_VLOG(x) …
#endif