TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by Joe0708.
A handy log console tool that can output information to the console, file, and display a small console tool in App.When the tester has problems, you can view the logs directly on the iPhone without having to connect to the IDE.
To run the example project, clone the repo, and run pod install
from the Example directory first.
LogConsole is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "LogConsole"
import LogConsole
Add console view to Window(Optional)
let consv = ConsoleView()
self.window?.addSubview(consv)
Logger.info("Info")
Logger.debug("Debug")
Logger.warning("Warning")
Logger.error("Error")
Write to file
Logger.saveLog()
You can specify the path and file name
Logger.saveLog(in: CustomPath, filename: CustomFilename)
Joe, [email protected]
LogConsole is available under the MIT license. See the LICENSE file for more info.