File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 3535#include " FileLogger.h"
3636#include " LoggerFactory.h"
3737#include " StdLogger.h"
38+ #include " XmlFileLogger.h"
3839
3940namespace vx {
4041
@@ -43,6 +44,7 @@ namespace vx {
4344 m_creators.emplace ( " " , []( const std::unordered_map<std::string, std::string> &_config ) { return new Logger ( _config ); } );
4445 m_creators.emplace ( " std" , []( const std::unordered_map<std::string, std::string> &_config ) -> Logger * { return new StdLogger ( _config ); } );
4546 m_creators.emplace ( " file" , []( const std::unordered_map<std::string, std::string> &_config ) -> Logger * { return new FileLogger ( _config ); } );
47+ m_creators.emplace ( " xml" , []( const std::unordered_map<std::string, std::string> &_config ) -> Logger * { return new XmlFileLogger ( _config ); } );
4648 }
4749
4850 Logger *LoggerFactory::produce ( const std::unordered_map<std::string, std::string> &_config ) const {
You can’t perform that action at this time.
0 commit comments