Latest 0.0.5
Homepage https://github.com/Joe0708/LogConsole
License MIT
Platforms ios 8.0
Authors

LogConsole

Version
License
Platform

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.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

LogConsole

Requirements

  • iOS 8.0
  • Swift Version 3.0

Installation

LogConsole is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "LogConsole"

Usage

import LogConsole

Add console view to Window(Optional)

    let consv = ConsoleView()
    self.window?.addSubview(consv)

Print

    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)

TODO

  1. Support horizontal screen
  2. Support Custom

Author

Joe, [email protected]

License

LogConsole is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "LogConsole",
    "version": "0.0.5",
    "summary": "A handy debugging log console tool.",
    "description": "A handy log console tool that can output information to the console, file, and display a small console tool in App.",
    "homepage": "https://github.com/Joe0708/LogConsole",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Joe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Joe0708/LogConsole.git",
        "tag": "0.0.5"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "LogConsole/Classes/**/*",
    "resources": "LogConsole/Assets/*.png",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This