aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/console_handler.h
diff options
context:
space:
mode:
authorNeozaru <neozaru@mailoo.org>2014-06-01 18:21:30 +0200
committerNeozaru <neozaru@mailoo.org>2014-06-01 18:21:30 +0200
commit8530629e22d88de4c2fd4d7d231b00c65d30100d (patch)
tree0890c9ee74331cd1f27093833718d3cf7eb20d26 /contrib/epee/include/console_handler.h
parentsimplewallet returns 0 when no error (diff)
parentMerge branch '0.8.8update' (diff)
downloadmonero-8530629e22d88de4c2fd4d7d231b00c65d30100d.tar.xz
Merge bitmonero@monero-project
Diffstat (limited to 'contrib/epee/include/console_handler.h')
-rw-r--r--contrib/epee/include/console_handler.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h
index 5798d2def..fcab35aaa 100644
--- a/contrib/epee/include/console_handler.h
+++ b/contrib/epee/include/console_handler.h
@@ -267,23 +267,6 @@ namespace epee
if(0 == command.compare("exit") || 0 == command.compare("q"))
{
continue_handle = false;
- }else if (!command.compare(0, 7, "set_log"))
- {
- //parse set_log command
- if(command.size() != 9)
- {
- std::cout << "wrong syntax: " << command << std::endl << "use set_log n" << std::endl;
- continue;
- }
- uint16_t n = 0;
- if(!string_tools::get_xtype_from_string(n, command.substr(8, 1)))
- {
- std::cout << "wrong syntax: " << command << std::endl << "use set_log n" << std::endl;
- continue;
- }
- log_space::get_set_log_detalisation_level(true, n);
- std::cout << "New log level set " << n;
- LOG_PRINT_L2("New log level set " << n);
}else if (command.empty())
{
continue;