Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor DNS log message and log level.
- Loading branch information
1 parent
b44b62b
commit 06e35bb
Showing
6 changed files
with
121 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// LogLevel.h | ||
// SOCKS | ||
// | ||
// Created by Ricky Zhang on 7/20/16. | ||
// | ||
// | ||
|
||
#ifndef LogLevel_h | ||
#define LogLevel_h | ||
|
||
//define NSLogger level | ||
#define NSLOGGER_LEVEL_ERROR 0 | ||
#define NSLOGGER_LEVEL_WARNNING 1 | ||
#define NSLOGGER_LEVEL_INFO 2 | ||
#define NSLOGGER_LEVEL_DEBUG 3 | ||
#define NSLOGGER_LEVEL_TRACE 4 | ||
|
||
#endif /* LogLevel_h */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ | |
#import "UIDevice_Extended.h" | ||
#endif | ||
|
||
#include "LogLevel.h" | ||
|
||
#define USE_NSLOGGER_LIB 1 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.