testProperties.cpp
Go to the documentation of this file.
00001 #include "Properties.hh"
00002 #include <iostream>
00003 #include <fstream>
00004 
00005 int main(int argc, char** argv) {
00006     log4cpp::Properties properties;
00007     std::string inFile = (argc > 1) ? argv[1] : "log4cpp.properties";  
00008     std::ifstream in(inFile.c_str());
00009 
00010     properties.load(in);
00011     properties.save(std::cout);
00012 }
00013 


log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sat Jun 8 2019 18:45:46