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 bdmroot* build(Setting &S) const{ 00026 return new dirfilelog(S["dirname"],S["maxlen"]); 00027 }; 00028 }; 00029 00030 UIREGISTER(UIdirfilelog); 00031 #endif // LGR_H