Skip to content

Commit 8b71255

Browse files
author
HDB-Li
committed
Update for 1.2.0
1 parent 03732ed commit 8b71255

File tree

284 files changed

+3370
-2472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+3370
-2472
lines changed

LLDebugToolSwift.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Pod::Spec.new do |s|
99
s.platform = :ios, "8.0"
1010
s.source = { :git => "https://github.com/HDB-Li/LLDebugToolSwift.git", :tag => s.version }
1111
s.requires_arc = true
12-
# s.source_files = "LLDebugToolSwift/**/*.{h,m,swift}"
12+
s.source_files = "LLDebugToolSwift/**/*.{h,m,swift}"
1313
# s.resources = "LLDebugToolSwift/**/*.{xib,storyboard,bundle}"
1414
s.dependency "LLDebugTool" , '1.2.0'
1515
s.swift_version = "4.0"

LLDebugToolSwift/LLog.swift

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class LLog: NSObject {
3737
/// Log a normal message with event.
3838
public static func log(message : String? , event : String? , file : String = #file , function : String = #function , lineNumber : Int = #line) {
3939
#if DEBUG
40-
self.privateLog(message: message, event: event, file: file, function: function, lineNumber: lineNumber, level: .default)
40+
LLLogHelper.shared().log(inFile: (file as NSString).lastPathComponent, function: function, lineNo: lineNumber, level: .default, onEvent: event, message: message)
4141
#endif
4242
}
4343

@@ -49,7 +49,7 @@ public class LLog: NSObject {
4949
/// Log a alert message with event.
5050
public static func alertLog(message : String? , event : String? , file : String = #file , function : String = #function , lineNumber : Int = #line) {
5151
#if DEBUG
52-
self.privateLog(message: message, event: event, file: file, function: function, lineNumber: lineNumber, level: .alert)
52+
LLLogHelper.shared().log(inFile: (file as NSString).lastPathComponent, function: function, lineNo: lineNumber, level: .alert, onEvent: event, message: message)
5353
#endif
5454
}
5555

@@ -61,7 +61,7 @@ public class LLog: NSObject {
6161
/// Log a warning message with event.
6262
public static func warningLog(message : String? , event : String? , file : String = #file , function : String = #function , lineNumber : Int = #line) {
6363
#if DEBUG
64-
self.privateLog(message: message, event: event, file: file, function: function, lineNumber: lineNumber, level: .warning)
64+
LLLogHelper.shared().log(inFile: (file as NSString).lastPathComponent, function: function, lineNo: lineNumber, level: .warning, onEvent: event, message: message)
6565
#endif
6666
}
6767

@@ -73,14 +73,7 @@ public class LLog: NSObject {
7373
/// Log a error message with event.
7474
public static func errorLog(message : String? , event : String? , file : String = #file , function : String = #function , lineNumber : Int = #line) {
7575
#if DEBUG
76-
self.privateLog(message: message, event: event, file: file, function: function, lineNumber: lineNumber, level: .error)
77-
#endif
78-
}
79-
80-
/// Private log.
81-
private static func privateLog(message : String? , event : String? , file : String , function : String , lineNumber : Int , level : LLConfigLogLevel) {
82-
#if DEBUG
83-
LLDebugTool.shared().log(inFile: (file as NSString).lastPathComponent, function: function, lineNo: lineNumber, level: level, onEvent: event, message: message)
76+
LLLogHelper.shared().log(inFile: (file as NSString).lastPathComponent, function: function, lineNo: lineNumber, level: .error, onEvent: event, message: message)
8477
#endif
8578
}
8679

LLDebugToolSwiftDemo.xcodeproj/project.pbxproj

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@
245245
364A05AC214917E70056719F /* Sources */,
246246
364A05AD214917E70056719F /* Frameworks */,
247247
364A05AE214917E70056719F /* Resources */,
248-
C21809CAB80DD894785C9043 /* [CP] Embed Pods Frameworks */,
249248
);
250249
buildRules = (
251250
);
@@ -265,7 +264,6 @@
265264
364A05B7214917E70056719F /* Sources */,
266265
364A05B8214917E70056719F /* Frameworks */,
267266
364A05B9214917E70056719F /* Resources */,
268-
B53BBD97B8607A179A22FD7A /* [CP] Embed Pods Frameworks */,
269267
);
270268
buildRules = (
271269
);
@@ -379,46 +377,6 @@
379377
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LLDebugToolSwiftDemo/Pods-LLDebugToolSwiftDemo-frameworks.sh\"\n";
380378
showEnvVarsInLog = 0;
381379
};
382-
B53BBD97B8607A179A22FD7A /* [CP] Embed Pods Frameworks */ = {
383-
isa = PBXShellScriptBuildPhase;
384-
buildActionMask = 2147483647;
385-
files = (
386-
);
387-
inputPaths = (
388-
"${SRCROOT}/Pods/Target Support Files/Pods-LLDebugToolSwiftDemoUITests/Pods-LLDebugToolSwiftDemoUITests-frameworks.sh",
389-
"${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework",
390-
"${BUILT_PRODUCTS_DIR}/LLDebugTool/LLDebugTool.framework",
391-
);
392-
name = "[CP] Embed Pods Frameworks";
393-
outputPaths = (
394-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework",
395-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/LLDebugTool.framework",
396-
);
397-
runOnlyForDeploymentPostprocessing = 0;
398-
shellPath = /bin/sh;
399-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LLDebugToolSwiftDemoUITests/Pods-LLDebugToolSwiftDemoUITests-frameworks.sh\"\n";
400-
showEnvVarsInLog = 0;
401-
};
402-
C21809CAB80DD894785C9043 /* [CP] Embed Pods Frameworks */ = {
403-
isa = PBXShellScriptBuildPhase;
404-
buildActionMask = 2147483647;
405-
files = (
406-
);
407-
inputPaths = (
408-
"${SRCROOT}/Pods/Target Support Files/Pods-LLDebugToolSwiftDemoTests/Pods-LLDebugToolSwiftDemoTests-frameworks.sh",
409-
"${BUILT_PRODUCTS_DIR}/FMDB/FMDB.framework",
410-
"${BUILT_PRODUCTS_DIR}/LLDebugTool/LLDebugTool.framework",
411-
);
412-
name = "[CP] Embed Pods Frameworks";
413-
outputPaths = (
414-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FMDB.framework",
415-
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/LLDebugTool.framework",
416-
);
417-
runOnlyForDeploymentPostprocessing = 0;
418-
shellPath = /bin/sh;
419-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LLDebugToolSwiftDemoTests/Pods-LLDebugToolSwiftDemoTests-frameworks.sh\"\n";
420-
showEnvVarsInLog = 0;
421-
};
422380
C34B62C56B97F233FD5E9F7B /* [CP] Check Pods Manifest.lock */ = {
423381
isa = PBXShellScriptBuildPhase;
424382
buildActionMask = 2147483647;

Podfile.lock

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,31 @@ PODS:
33
- FMDB (2.7.2):
44
- FMDB/standard (= 2.7.2)
55
- FMDB/standard (2.7.2)
6-
- LLDebugTool (1.1.6):
6+
- LLDebugTool (1.2.0):
7+
- LLDebugTool/AppInfo (= 1.2.0)
8+
- LLDebugTool/Crash (= 1.2.0)
9+
- LLDebugTool/General (= 1.2.0)
10+
- LLDebugTool/Log (= 1.2.0)
11+
- LLDebugTool/Network (= 1.2.0)
12+
- LLDebugTool/Sandbox (= 1.2.0)
13+
- LLDebugTool/Screenshot (= 1.2.0)
14+
- LLDebugTool/StorageManager (= 1.2.0)
15+
- LLDebugTool/AppInfo (1.2.0):
16+
- LLDebugTool/General
17+
- LLDebugTool/Crash (1.2.0):
18+
- LLDebugTool/StorageManager
19+
- LLDebugTool/General (1.2.0)
20+
- LLDebugTool/Log (1.2.0):
21+
- LLDebugTool/StorageManager
22+
- LLDebugTool/Network (1.2.0):
23+
- LLDebugTool/StorageManager
24+
- LLDebugTool/Sandbox (1.2.0):
25+
- LLDebugTool/General
26+
- LLDebugTool/Screenshot (1.2.0):
27+
- LLDebugTool/General
28+
- LLDebugTool/StorageManager (1.2.0):
729
- FMDB
30+
- LLDebugTool/General
831
- Moya (11.0.2):
932
- Moya/Core (= 11.0.2)
1033
- Moya/Core (11.0.2):
@@ -14,7 +37,7 @@ PODS:
1437

1538
DEPENDENCIES:
1639
- Alamofire (~> 4.7)
17-
- LLDebugTool (= 1.1.6)
40+
- LLDebugTool (= 1.2.0)
1841
- Moya (~> 11.0.0)
1942

2043
SPEC REPOS:
@@ -28,10 +51,10 @@ SPEC REPOS:
2851
SPEC CHECKSUMS:
2952
Alamofire: c7287b6e5d7da964a70935e5db17046b7fde6568
3053
FMDB: 6198a90e7b6900cfc046e6bc0ef6ebb7be9236aa
31-
LLDebugTool: dd19ec34e300845e6169ba13a1878a367165f767
54+
LLDebugTool: 844320bcad9658fec60b3a8b1534b9f906329bdb
3255
Moya: a725035953bc1c0eb1be505ab903984501d82440
3356
Result: d2d07204ce72856f1fd9130bbe42c35a7b0fea10
3457

35-
PODFILE CHECKSUM: f8b8cd901db9ce56ab0a41224ef4a283ccabb75a
58+
PODFILE CHECKSUM: 2397d7285e399751a58d805ad4e58c79cb94a5f1
3659

3760
COCOAPODS: 1.5.3

Pods/LLDebugTool/LLDebugTool/Helper/AppHelper/LLAppHelper.h renamed to Pods/LLDebugTool/LLDebugTool/Components/AppInfo/Function/LLAppHelper.h

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Pods/LLDebugTool/LLDebugTool/Helper/AppHelper/LLAppHelper.m renamed to Pods/LLDebugTool/LLDebugTool/Components/AppInfo/Function/LLAppHelper.m

Lines changed: 13 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)