19 #ifndef GRPC_CORE_LIB_GPRPP_DEBUG_LOCATION_H
20 #define GRPC_CORE_LIB_GPRPP_DEBUG_LOCATION_H
34 const char*
file()
const {
return file_; }
35 int line()
const {
return line_; }
41 #define DEBUG_LOCATION ::grpc_core::DebugLocation(__FILE__, __LINE__)
45 const char*
file()
const {
return nullptr; }
46 int line()
const {
return -1; }
48 #define DEBUG_LOCATION ::grpc_core::DebugLocation()
Definition: debug_location.h:31
DebugLocation(const char *file, int line)
Definition: debug_location.h:33
int line() const
Definition: debug_location.h:35
const char * file() const
Definition: debug_location.h:34
Round Robin Policy.
Definition: backend_metric.cc:26