proxygen
StubLogger Struct Reference

Public Member Functions

void operator() (StringPiece msg, std::chrono::duration< double > sec)
 

Static Public Attributes

static std::string m = ""
 
static double t = 0
 

Detailed Description

Definition at line 24 of file AutoTimerTest.cpp.

Member Function Documentation

void StubLogger::operator() ( StringPiece  msg,
std::chrono::duration< double >  sec 
)
inline

Definition at line 25 of file AutoTimerTest.cpp.

References m, folly::Range< Iter >::str(), and folly::pushmi::detail::t.

25  {
26  m = msg.str();
27  t = sec.count();
28  }
std::string str() const
Definition: Range.h:591
static double t
static std::string m

Member Data Documentation

std::string StubLogger::m = ""
static

Definition at line 29 of file AutoTimerTest.cpp.

Referenced by TEST().

double StubLogger::t = 0
static

Definition at line 30 of file AutoTimerTest.cpp.

Referenced by TEST().


The documentation for this struct was generated from the following file: