...
|
...
|
@@ -17,27 +17,27 @@ |
|
|
*/
|
|
|
|
|
|
#define YOHOLogError(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
[DDLog logWithFunctionName:__PRETTY_FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
errorMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogWarn(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
[DDLog logWithFunctionName:__PRETTY_FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
loggerUser:tag \
|
|
|
warnMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogDebug(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
[DDLog logWithFunctionName:__PRETTY_FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
loggerUser:tag \
|
|
|
debugMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#define YOHOLogInfo(tag, frmt, ...) \
|
|
|
[DDLog logWithFunctionName:__FUNCTION__ \
|
|
|
[DDLog logWithFunctionName:__PRETTY_FUNCTION__ \
|
|
|
line:__LINE__ \
|
|
|
loggerUser:tag \
|
|
|
loggerUser:tag \
|
|
|
infoMessage:frmt, ## __VA_ARGS__]
|
|
|
|
|
|
#endif /* CocoaLumberjack_YOHO_h */ |
...
|
...
|
|