CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Sep 2017 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Andrew Skrypnyk.
| Depends on: | |
| Concepter_Log | ~> 1.0 |
| AEConsole | ~> 0.3.0 |
[](https://travis-ci.org/Andrew Skrypnik/ShakeLog)
To run the example project, clone the repo, and run pod install from the Example directory first.
ShakeLog is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "ShakeLog"import ShakeLogadd keys to Info.plist
<key>AELog</key>
<dict>
<key>Enabled</key>
<true/>
<key>Template</key>
<string>{message}</string>
</dict>
<key>AEConsole</key>
<dict>
<key>Enabled</key>
<true/>
</dict>add -DSHAKELOGSHOW key to Build Settings->Other Swift Flags -> Debug to disable logs in Release builds
#if SHAKELOGSHOW
//... aelog()
#endif
then finish setup
Log.launch(with: UIApplicationDelegate)
Log.shared.minLevel = .debug
Log.shared.trace("trace", false)
Log.shared.debug("debug", true)
Log.shared.info("info", "true")
Log.shared.warning("warning", 10)
Log.shared.error("error", ["key": "value"])
Andrew Skrypnik, [email protected]
Log: https://github.com/delba/Log
AEConsole: https://github.com/tadija/AEConsole
ShakeLog is available under the MIT license. See the LICENSE file for more info.