00001 00013 #ifndef LGR_UI_H 00014 #define LGR_UI_H 00015 00016 #include "loggers.h" 00017 #include "uibuilder.h" 00018 00019 using namespace itpp; 00020 using std::string; 00021 00022 class UIdirfilelog : public UIbuilder{ 00023 public: 00024 UIdirfilelog():UIbuilder("dirfilelog"){}; 00025 void build(Setting &S, void** result) const{ 00026 dirfilelog *tmp = new dirfilelog(S["dirname"],S["maxlen"]); 00027 *result = tmp; 00028 }; 00029 }; 00030 00031 #endif // LGR_H