Encode URL queries.

This commit is contained in:
Adam Gu
2018-08-10 10:22:06 +08:00
parent 87420871ba
commit 31cfac65e8
6 changed files with 113 additions and 21 deletions
+1
View File
@@ -36,6 +36,7 @@ enum LogMode {
// Commonly used modes.
const int LOG_CONSOLE_FILE_APPEND = LOG_CONSOLE | LOG_FILE;
const int LOG_CONSOLE_FILE_OVERWRITE = LOG_CONSOLE | LOG_FILE | LOG_OVERWRITE;
const int LOG_FILE_OVERWRITE = LOG_FILE | LOG_OVERWRITE;
// Initialize logger.
// If |dir| is empty, log file will be generated in current directory.