Skip to content

Commit

Permalink
1、修复日志不向上输出的问题;
Browse files Browse the repository at this point in the history
  • Loading branch information
lzj committed Apr 14, 2020
1 parent 8659389 commit 91c936c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ZJLog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
"@loader_path/Frameworks",
);
MACH_O_TYPE = mh_dylib;
MARKETING_VERSION = 1.0.8;
MARKETING_VERSION = 1.0.9;
ONLY_ACTIVE_ARCH = YES;
PRODUCT_BUNDLE_IDENTIFIER = com.eafy.ZJLog;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down Expand Up @@ -432,7 +432,7 @@
"@loader_path/Frameworks",
);
MACH_O_TYPE = mh_dylib;
MARKETING_VERSION = 1.0.8;
MARKETING_VERSION = 1.0.9;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.eafy.ZJLog;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
Expand Down
4 changes: 2 additions & 2 deletions ZJLog/ZJLog.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void CPrintfSendCallback(char *log)
@interface ZJLog ()

@property (nonatomic,assign) BOOL logEnable; //日志开关
@property (nonatomic,assign) BOOL LogOutEnable; //日志输出开关
@property (nonatomic,assign) BOOL LogOutEnable; //日志向上输出开关
@property (nonatomic,assign) BOOL saveEnable; //日志保存开关

@end
Expand All @@ -29,7 +29,7 @@ @implementation ZJLog
- (void)initData
{
self.logEnable = YES;
self.LogOutEnable = NO; //默认不向上输出
self.LogOutEnable = YES; //默认向上输出
self.saveEnable = NO;

if (mCPrintfLevelValue == ZJLOG_LEVEL_DEBUG) { //DEBUG模式,其他默认设置debug级别关闭打印
Expand Down
Binary file modified ZJLogDemo/ZJLog/libs_export/arm64-v8a/libZJLog.so
Binary file not shown.
Binary file modified ZJLogDemo/ZJLog/libs_export/armeabi-v7a/libZJLog.so
Binary file not shown.
Binary file modified ZJLogDemo/ZJLog/libs_export/x86/libZJLog.so
Binary file not shown.

0 comments on commit 91c936c

Please sign in to comment.