Latest 0.1.7
Homepage https://github.com/pavel-zlotarenchuk/iOSLogger
License MIT
Platforms ios 9.0
Dependencies Zip
Frameworks Zip
Authors

CI Status
Version
Swift
License
Platform

A Swift 4.0 framework for logging your apps. Simple and quick to use.

Example

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

Requirements

iOS higher 9.0

Installation

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

use_frameworks!
pod 'iOSLogger'

And run pod install

Usage

Import iOSLogger to the top of the Swift file.

import iOSLogger

In AppDelegat use:

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    IOSLogger.myInit(authorEmail: "[email protected]")
    return true
}

In the place where you want to record the log:

IOSLogger.log() - for your tag
IOSLogger.v() - for verbose
IOSLogger.d() - for debug
IOSLogger.i() - for info
IOSLogger.w() - for warn
IOSLogger.e() - for error

In the place where you want to read log from file:

IOSLogger.readLogs()

In the place where you want to send logs to the mail::

IOSLogger.sendLogs()

Author

Pavel Zlotarenchuk ([email protected])

License

Copyright 2013 viktord1985, GreenMoby.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Latest podspec

{
    "name": "iOSLogger",
    "version": "0.1.7",
    "summary": "Easy logging and send logs for your app.",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/pavel-zlotarenchuk/iOSLogger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "pavel-zlotarenchuk": "[email protected]"
    },
    "source": {
        "git": "https://github.com/pavel-zlotarenchuk/iOSLogger.git",
        "tag": "0.1.7"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "iOSLogger/Classes/**/*",
    "swift_version": "4.0",
    "frameworks": "Zip",
    "dependencies": {
        "Zip": [
            "~> 1.1"
        ]
    }
}

Pin It on Pinterest

Share This