File logging option

This commit is contained in:
fireice-uk
2017-02-22 22:41:00 +00:00
parent 8c5671d6e0
commit b5902fd0b7
6 changed files with 44 additions and 3 deletions
+3
View File
@@ -124,6 +124,9 @@ int main(int argc, char *argv[])
printer::inst()->print_str("'c' - connection\n");
printer::inst()->print_str("-------------------------------------------------------------------\n");
if(strlen(jconf::inst()->GetOutputFile()) != 0)
printer::inst()->open_logfile(jconf::inst()->GetOutputFile());
executor::inst()->ex_start();
int key;