[](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, anarh93@gmail.com
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.