initial
This commit is contained in:
16
Pods/DDLogKit_Private/DDLogKit_Private/Classes/OCLog/DDOCLog.h
generated
Normal file
16
Pods/DDLogKit_Private/DDLogKit_Private/Classes/OCLog/DDOCLog.h
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// DDOCLog.h
|
||||
// DDLogKit_Private
|
||||
// Created by DDIsFriend on 2023/2/7.
|
||||
|
||||
|
||||
#ifndef DDOCLog_h
|
||||
#define DDOCLog_h
|
||||
|
||||
#ifdef __OBJC__
|
||||
#ifndef DDLog
|
||||
#define DDLog(format, ...) NSLog((@"[函数名:%s]\n[内容:" format @"]"),__FUNCTION__, ##__VA_ARGS__);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* DDOCLog_h */
|
||||
16
Pods/DDLogKit_Private/DDLogKit_Private/Classes/SwiftLog/DDSwiftLog.swift
generated
Normal file
16
Pods/DDLogKit_Private/DDLogKit_Private/Classes/SwiftLog/DDSwiftLog.swift
generated
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// DDSwiftLog.swift
|
||||
// DDLogKit_Private
|
||||
// Created by DDIsFriend on 2023/2/7.
|
||||
|
||||
|
||||
import Foundation
|
||||
|
||||
public func DDLog<N>(message:N,fileName:String = #file,methodName:String = #function,lineNumber:Int = #line){
|
||||
#if DEBUG
|
||||
// print("\(fileName as NSString)\n方法:\(methodName)\n行号:\(lineNumber)\n打印信息\(message)")
|
||||
print("[函数名:\(fileName as NSString) - \(methodName)]\n[内容:\(message)]")
|
||||
// NSLog("[函数名:\(fileName as NSString) - \(methodName)]\n[内容:\(message)]")
|
||||
#endif
|
||||
}
|
||||
|
||||
19
Pods/DDLogKit_Private/LICENSE
generated
Normal file
19
Pods/DDLogKit_Private/LICENSE
generated
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2023 DDIsFriend <DDIsFriend@163.com>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
29
Pods/DDLogKit_Private/README.md
generated
Normal file
29
Pods/DDLogKit_Private/README.md
generated
Normal file
@@ -0,0 +1,29 @@
|
||||
# DDLogKit_Private
|
||||
|
||||
[](https://travis-ci.org/DDIsFriend/DDLogKit_Private)
|
||||
[](https://cocoapods.org/pods/DDLogKit_Private)
|
||||
[](https://cocoapods.org/pods/DDLogKit_Private)
|
||||
[](https://cocoapods.org/pods/DDLogKit_Private)
|
||||
|
||||
## Example
|
||||
|
||||
To run the example project, clone the repo, and run `pod install` from the Example directory first.
|
||||
|
||||
## Requirements
|
||||
|
||||
## Installation
|
||||
|
||||
DDLogKit_Private is available through [CocoaPods](https://cocoapods.org). To install
|
||||
it, simply add the following line to your Podfile:
|
||||
|
||||
```ruby
|
||||
pod 'DDLogKit_Private'
|
||||
```
|
||||
|
||||
## Author
|
||||
|
||||
DDIsFriend, DDIsFriend@163.com
|
||||
|
||||
## License
|
||||
|
||||
DDLogKit_Private is available under the MIT license. See the LICENSE file for more info.
|
||||
Reference in New Issue
Block a user