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_SIMPLECONFIGURATOR_HH 00009 #define _LOG4CPP_SIMPLECONFIGURATOR_HH 00010 00011 #include "Base/GCException.h" 00012 #include <log4cpp/Portability.hh> 00013 #include <iostream> 00014 #include <string> 00015 #include <log4cpp/Configurator.hh> 00016 00017 LOG4CPP_NS_BEGIN 00018 00026 class LOG4CPP_EXPORT SimpleConfigurator { 00027 public: 00028 00038 static void configure(const std::string& initFileName); 00039 // throw(GenICam::InvalidArgumentException); 00040 00050 static void configure(std::istream& initFile); 00051 // throw(GenICam::InvalidArgumentException); 00052 }; 00053 LOG4CPP_NS_END 00054 00055 #endif