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
autogenerated on Mon Oct 6 2014 03:13:14