Function populateAllLoggerIds

Synopsis

#include <src/easylogging++.h>

static std::vector< std::string > * populateAllLoggerIds(std::vector< std::string > *targetList)

Description

Populates all logger IDs in current repository.

Parameters

[ out ] targetList - List of fill up.

Mentioned in

Source

Lines 3026-3033 in src/easylogging++.cc. Line 3839 in src/easylogging++.h.

std::vector<std::string>* Loggers::populateAllLoggerIds(std::vector<std::string>* targetList) {
  targetList->clear();
  for (base::RegisteredLoggers::iterator it = ELPP->registeredLoggers()->list().begin();
       it != ELPP->registeredLoggers()->list().end(); ++it) {
    targetList->push_back(it->first);
  }
  return targetList;
}





Add Discussion

Log in to comment