00001 #include <fesa-core-gsi/Diagnostic/SyslogAppenderBuilder.h> 00002 #include <fesa-core-gsi/Diagnostic/SyslogAppender.h> 00003 #include <cmw-util/Properties.h> 00004 00005 namespace fesaGSI 00006 { 00007 00008 SyslogAppenderBuilder::SyslogAppenderBuilder(const std::string & name) : 00009 CMW::Log::AppenderBuilder(name) 00010 { 00011 } 00012 00013 00014 SyslogAppender* SyslogAppenderBuilder::build() 00015 { 00016 return new SyslogAppender(name_, synchronous_, filters_); 00017 } 00018 00019 00020 SyslogAppenderBuilder& SyslogAppenderBuilder::setProperties(const CMW::Util::Properties& properties) 00021 { 00022 CMW::Log::AppenderBuilder::setProperties(properties); 00023 return *this; 00024 } 00025 00026 }