Latest 0.0.5
Homepage https://github.com/originalix/CuteLogger
License MIT
Platforms ios 8.0
Dependencies SSZipArchive
Frameworks Foundation, UIKit
Authors

CuteLogger

一个由Swift编写而成的自定义日志系统。

Installing

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
use_frameworks!

target 'Demo' do
    pod 'CuteLog'
end

Usage

  1. LogGenerator 日志Log生成类
  2. LogQueue 存储Log的循环队列类
  3. LogArchive 压缩Log文件类

Example

In Swift:

LogGenerator().debug(targetClass: self.classForCoder, content: "测试Log")
LogGenerator().warning(targetClass: self.classForCoder, content: "测试Log")
LogGenerator().info(targetClass: self.classForCoder, content: "测试Log")
LogGenerator().error(targetClass: self.classForCoder, content: "测试Log")

In Objective-C:

Cute_Debug(@"这是一个Debug - Log")
Cute_Info(@"这是一个info - Log")
Cute_Error(@"这是一个Error - Log")
Cute_Warning(@"这是一个Warning - Log")

Latest podspec

{
    "name": "CuteLog",
    "version": "0.0.5",
    "summary": "u4e00u4e2au7531Swiftu7f16u5199u800cu6210u7684u81eau5b9au4e49u65e5u5fd7u7cfbu7edf",
    "homepage": "https://github.com/originalix/CuteLogger",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Leon": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/originalix/CuteLogger.git",
        "tag": "0.0.5"
    },
    "source_files": [
        "resource",
        "CuteLogger/resource/*.{h,m,swift}"
    ],
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "dependencies": {
        "SSZipArchive": [
            "~> 1.8.1"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This