Add file log support

This commit is contained in:
Adam Gu
2018-07-03 14:01:47 +08:00
parent 44271eb2cc
commit 7280b09f10
10 changed files with 96 additions and 40 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ int main(int argc, char* argv[]) {
return 1;
}
LOG_INIT(0);
LOG_INIT("", webcc::LOG_FILE | webcc::LOG_CONSOLE | webcc::LOG_OVERWRITE);
unsigned short port = std::atoi(argv[1]);