Mercurial > irccd
diff tests/src/plugins/logger/main.cpp @ 862:6b65493d97cf
plugin logger: rename path configuration to file, closes #1670
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 25 Jul 2019 21:10:00 +0000 |
parents | a23b7b574ed2 |
children | 5e25439fe98d |
line wrap: on
line diff
--- a/tests/src/plugins/logger/main.cpp Thu Jul 25 21:00:00 2019 +0000 +++ b/tests/src/plugins/logger/main.cpp Thu Jul 25 21:10:00 2019 +0000 @@ -65,8 +65,8 @@ void load(plugin::map config = {}) { - if (config.count("path") == 0) - config.emplace("path", CMAKE_CURRENT_BINARY_DIR "/log.txt"); + if (config.count("file") == 0) + config.emplace("file", CMAKE_CURRENT_BINARY_DIR "/log.txt"); plugin_->set_options(config); plugin_->handle_load(bot_);