File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88
99#import " QNLogUtil.h"
1010
11- #if DEBUG
12- static QNLogLevel _level = QNLogLevelVerbose;
13- #else
11+ // #if DEBUG
12+ // static QNLogLevel _level = QNLogLevelVerbose;
13+ // #else
1414static QNLogLevel _level = QNLogLevelNone;
15- #endif
15+ // #endif
1616
1717static BOOL _enableDate = false ;
1818static BOOL _enableFile = true ;
Original file line number Diff line number Diff line change 66// Copyright © 2020 Qiniu. All rights reserved.
77//
88
9+ #import " QNLogUtil.h"
910#import " QNUploadBaseTest.h"
1011
1112@interface QNUploadBaseTest ()
@@ -15,6 +16,8 @@ @implementation QNUploadBaseTest
1516
1617- (void )setUp {
1718 [super setUp ];
19+ [QNLogUtil setLogLevel: QNLogLevelInfo];
20+
1821 self.defaultOption = [[QNUploadOption alloc ] initWithMime: nil
1922 progressHandler: ^(NSString *key, float percent) {
2023 NSLog (@" == key:%@ percent:%f " , key, percent);
You can’t perform that action at this time.
0 commit comments