19 #ifndef PAGESPEED_KERNEL_BASE_REQUEST_TRACE_H_
20 #define PAGESPEED_KERNEL_BASE_REQUEST_TRACE_H_
27 namespace net_instaweb {
37 virtual void TraceVPrintf(
const char* fm, va_list argp) = 0;
38 void TracePrintf(
const char* fmt, ...);
50 void set_tracing_enabled(
bool x) { tracing_enabled_ = x; }
53 bool tracing_enabled_;
bool tracing_enabled()
Definition: request_trace.h:49
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
virtual void TraceVPrintf(const char *fm, va_list argp)=0
Logs formatted output to the distributed tracing context.
virtual void TraceLiteral(const char *literal)=0
Definition: request_trace.h:31
virtual void TraceString(const GoogleString &s)=0
Logs a short-lived string to the tracing context.