Latest 1.2.0
Homepage https://github.com/ParkWoocheol/SimpleLog-Swift
License MIT
Platforms ios 9.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Woocheol Park/SimpleLog-Swift.svg?style=flat)](https://travis-ci.org/Woocheol Park/SimpleLog-Swift)
Version
License
Platform

Installation

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

pod "SimpleLog-Swift"

Example

import SimpleLog_Swift

#if DEBUG
     Logging.isRunning = true
#else
     Logging.isRunning = false
#endif

// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
Logging.d()

// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// Variable Type -> [String], Value -> [description]
// ---------------------------------------------------------
Logging.d(description)

// Print command line
// | 📘 DEBUG | FILE: ExampleViewController.swift, FUNCTION: exampleFunction, LINE: 30
// ---------------------------------------------------------
// | 🗄 Array | Info -> [...], Size -> [...]
// | 🔓 INDEX | 0
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(123)]
// ---------------------------------------------------------
// | 🔓 INDEX | 1
// ---------------------------------------------------------
// Example
// ---------------------------------------------------------
// Variable Name -> [id], Variable Type -> [Optional<Int>], Value -> [Optional(456)]
// ---------------------------------------------------------
Logging.d(Array<Example> as Array<Any>)

Logging.i()
...

Logging.w()
...

Logging.e()
...

Author

Woocheol Park, [email protected]

License

SimpleLog-Swift is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SimpleLog-Swift",
    "version": "1.2.0",
    "summary": "Simple Log for Swift by Park, Woocheol",
    "homepage": "https://github.com/ParkWoocheol/SimpleLog-Swift",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Woocheol Park": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ParkWoocheol/SimpeLog-Swift.git",
        "tag": "1.2.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "SimpleLog-Swift/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This