14 #ifndef OR_TOOLS_BASE_VLOG_IS_ON_H_ 15 #define OR_TOOLS_BASE_VLOG_IS_ON_H_ 29 #define VLOG_IS_ON(verboselevel) \ 31 static bool vmodule_initialized__ = false; \ 32 static int32_t* vmodule_info__ = nullptr; \ 33 int32_t verbose_level__ = (verboselevel); \ 34 (vmodule_initialized__ \ 35 ? (vmodule_info__ == nullptr \ 36 ? absl::GetFlag(FLAGS_v) >= verbose_level__ \ 37 : *vmodule_info__ >= verbose_level__) \ 38 : google::InitVLOG3__(&vmodule_info__, &vmodule_initialized__, \ 39 __FILE__, verbose_level__)); \ 44 #define VLOG_IS_ON(verboselevel) (absl::GetFlag(FLAGS_v) >= (verboselevel)) 77 int32_t verbose_level);
81 #endif // OR_TOOLS_BASE_VLOG_IS_ON_H_ int32_t kLogSiteUninitialized
int SetVLOGLevel(const char *module_pattern, int log_level)
bool InitVLOG3__(int32_t **vmodule_info, bool *initialized, const char *fname, int32_t verbose_level)
#define GOOGLE_GLOG_DLL_DECL