...
|
...
|
@@ -16,25 +16,25 @@ |
|
|
* 这个信息会打印到log file里
|
|
|
*/
|
|
|
|
|
|
#define YOHOLogError(tag, frmt, ...) \
|
|
|
#define YHLogError(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
errorMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogWarn(tag, frmt, ...) \
|
|
|
#define YHLogWarn(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
warnMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogDebug(tag, frmt, ...) \
|
|
|
#define YHLogDebug(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
debugMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogInfo(tag, frmt, ...) \
|
|
|
#define YHLogInfo(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
...
|
...
|
|