Latest 0.3.0
License MIT
Platforms ios 8.0, watchos 2.0, tvos 9.0, osx 10.10

Simple, lightweight and flexible debug logging framework written in Swift

Language Swift 3.0
Platforms iOS | watchOS | tvOS | OSX
License MIT

CocoaPods Version
Carthage compatible
Swift Package Manager compatible

If you find yourself in upcoming statements, then you probably want to use AELog:

  • I just want to log anything to console while working on a project, then turn it off when going live.
  • I’d like to enable / disable logging on a file level, and also to format log lines just the way I like.
  • I don’t want to have anything other then that, I just want to be up and running in no time.



  • Top level logging which can be disabled when needed
  • Enable or disable logging on a file level
  • Customizable format and verbosity of log lines
  • Covered with unit tests
  • Covered with docs


Still there? All right, this is how you would use it:

aelog("hi there")

For example, if you added this on line 21 in viewDidLoad of your ViewController, this is how your output might look:

2016-04-03 21:08:00.123 -- [Main] ViewController (21) -> viewDidLoad() > hi there

Ok, now for the pro-users which might want to disable logging when going live, choose between files that are making the output and ones that don’t, or maybe customize format and verbosity of the log lines, this is how you can configure AELog:


  1. Create AELog.plist file and add it to your target or create dictionary with name AELog in your existing Info.plist file.
  2. Configure any setting the way you want (don’t forget to at least set Enabled to YES in order to make it work):

    Key Type Description
    Enabled Boolean Logging enabled flag. (defaults to NO)
    Files Dictionary Key: file name, Value: Boolean (defaults to empty – all files log enabled)
    DateFormat String Date format which will be used in log lines. (defaults to yyyy-MM-dd HH:mm:ss.SSS)
    Template String Log lines template. (defaults to {date} -- [{thread}] {file} ({line}) -> {function} > {message})

That’s all there is. You’re the master of AELog now. Happy coding!

One more thing

Have you ever wanted to see the output of your app while you’re not at your computer, like in real time directly on your iOS device? Yeah, me neither, but just in case you change your mind (like I did), check out AEConsolecustomizable console UI overlay with debug log on top of your iOS app. After all, AELog was made just to complement AEConsole. :)


  • Xcode 8.0+
  • AELog doesn’t require any additional libraries for it to work.



AELog is released under the MIT license. See LICENSE for details.

Latest podspec

    "name": "AELog",
    "version": "0.3.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "summary": "Simple, lightweight and flexible debug logging framework written in Swift",
    "homepage": "",
    "authors": {
        "tadija": "[email protected]"
    "social_media_url": "",
    "source": {
        "git": "",
        "tag": "0.3.0"
    "source_files": "Sources/*.swift",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "3.0"
    "platforms": {
        "ios": "8.0",
        "watchos": "2.0",
        "tvos": "9.0",
        "osx": "10.10"

Pin It on Pinterest

Share This