static void main(std::vector<LogString>& args)  {
static int main(std::vector<LogString>& args)  {
  static void main(std::vector<LogString>& args)  {    LoggerPtr j(Logger::getLogger("org.apache.log4j.joran"));    j->setAdditivity(false);    j->setLevel(Level::WARN);    AppenderPtr a(new ConsoleAppender());    a->setLayout(new PatternLayout(LOG4CXX_STR("%d %level %c - %m%n")));    a->setName(LOG4CXX_STR("console"));    Pool p;    a->activateOptions(p);    j->addAppender(a);    if (args.size() >= 2) {      init(args);    } else {      usage("Wrong number of arguments.");    }    //memPrint();    (*loop)(1000, logger);    //memPrint();    long res = (*loop)(runLength, logger);    double average = (res * 1000.0) / runLength;    std::cout <<      "Loop completed in [" << res << "] milliseconds, or [" << average      << "] microseconds per log.";    //memPrint();  }