00001 /* 00002 * SimpleConfigurator.hh 00003 * 00004 * Copyright 2001, Glen Scott. All rights reserved. 00005 * 00006 * See the COPYING file for the terms of usage and distribution. 00007 */ 00008 #ifndef _LOG4CPP_PROPERTYCONFIGURATOR_HH 00009 #define _LOG4CPP_PROPERTYCONFIGURATOR_HH 00010 00011 #include "Base/GCException.h" 00012 #include <log4cpp/Portability.hh> 00013 #include <log4cpp/Export.hh> 00014 00015 #include <string> 00016 #include <log4cpp/Configurator.hh> // configure exceptions 00017 00018 LOG4CPP_NS_BEGIN 00019 00047 class LOG4CPP_EXPORT PropertyConfigurator { 00048 public: 00049 static void configure(const std::string& initFileName); 00050 // throw(GenICam::InvalidArgumentException); 00051 00052 static void configure(std::istream& initStream); 00053 // throw(GenICam::InvalidArgumentException); 00054 }; 00055 LOG4CPP_NS_END 00056 00057 #endif // _LOG4CPP_PROPERTYCONFIGURATOR_HH