aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/console_handler.h
diff options
context:
space:
mode:
authormydesktop <dev.mc2@gmail.com>2014-05-25 13:06:40 -0400
committermydesktop <dev.mc2@gmail.com>2014-05-25 13:06:40 -0400
commit3a3a8176782a4fa75b0607fba0393c9d4a1746be (patch)
treee8e38bdeaf0e9ea8ba773bb27e1de4b288b8150d /contrib/epee/include/console_handler.h
parentMerge pull request #12 from quazarcoin/MRO_master (diff)
downloadmonero-3a3a8176782a4fa75b0607fba0393c9d4a1746be.tar.xz
0.8.8update
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;