Ejemplo n.º 1
0
static void
CleanUp()
{
  SetLogStarted(false);
  StaticMutexAutoLock lock(sMutex);

  if (sTraceInfos) {
    delete sTraceInfos;
    sTraceInfos = nullptr;
  }
}
Ejemplo n.º 2
0
void
StopLogging()
{
  SetLogStarted(false);
}
Ejemplo n.º 3
0
void
StartLogging()
{
  sStartTime = GetTimestamp();
  SetLogStarted(true);
}