Authored by ZhangTonghai

简化命名

... ... @@ -9,7 +9,7 @@
Pod::Spec.new do |s|
s.name = 'YH_Lumberjack'
s.version = '0.1.0'
s.version = '0.2.0'
s.summary = 'A wrapped log system for CocoaLumberjack.'
s.description = <<-DESC
A wrapped log system for CocoaLumberjack.
... ... @@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.license = 'MIT'
s.author = { 'Xu gaoqiang' => 'eric.xu@yoho.cn' }
s.requires_arc = true
s.platform = :ios, '8.0'
s.platform = :ios, '10.0'
s.source = { :git => 'http://git.yoho.cn/ios/YH_Lumberjack.git', :tag => s.version.to_s }
s.dependency 'CocoaLumberjack'
... ...
... ... @@ -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 \
... ...