|
@@ -16,25 +16,25 @@ |
|
@@ -16,25 +16,25 @@ |
16
|
* 这个信息会打印到log file里
|
16
|
* 这个信息会打印到log file里
|
17
|
*/
|
17
|
*/
|
18
|
|
18
|
|
19
|
-#define YOHOLogError(tag, frmt, ...) \
|
19
|
+#define YHLogError(tag, frmt, ...) \
|
20
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
20
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
21
|
line:__LINE__ \
|
21
|
line:__LINE__ \
|
22
|
loggerUser:tag \
|
22
|
loggerUser:tag \
|
23
|
errorMessage:frmt, ## __VA_ARGS__]
|
23
|
errorMessage:frmt, ## __VA_ARGS__]
|
24
|
|
24
|
|
25
|
-#define YOHOLogWarn(tag, frmt, ...) \
|
25
|
+#define YHLogWarn(tag, frmt, ...) \
|
26
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
26
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
27
|
line:__LINE__ \
|
27
|
line:__LINE__ \
|
28
|
loggerUser:tag \
|
28
|
loggerUser:tag \
|
29
|
warnMessage:frmt, ## __VA_ARGS__]
|
29
|
warnMessage:frmt, ## __VA_ARGS__]
|
30
|
|
30
|
|
31
|
-#define YOHOLogDebug(tag, frmt, ...) \
|
31
|
+#define YHLogDebug(tag, frmt, ...) \
|
32
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
32
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
33
|
line:__LINE__ \
|
33
|
line:__LINE__ \
|
34
|
loggerUser:tag \
|
34
|
loggerUser:tag \
|
35
|
debugMessage:frmt, ## __VA_ARGS__]
|
35
|
debugMessage:frmt, ## __VA_ARGS__]
|
36
|
|
36
|
|
37
|
-#define YOHOLogInfo(tag, frmt, ...) \
|
37
|
+#define YHLogInfo(tag, frmt, ...) \
|
38
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
38
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
39
|
line:__LINE__ \
|
39
|
line:__LINE__ \
|
40
|
loggerUser:tag \
|
40
|
loggerUser:tag \
|