Latest 1.1.0
Homepage https://github.com/MZC0829/MLog
License MIT
Platforms ios 9.0, requires ARC
Authors
Custom log output. Contain file, function, line and time.

Cocoapods

1. Add the following line to your Podfile:

platform :ios, '9.0'

target 'YourIosApps' do

  use_frameworks!

  pod 'MLog', '~> 1.1.0'

end

2. Then, run the following command:

$ pod install

Carthage

1、run the following command:

$ touch Cartfile

2、Add the following line to your Cartfile:

github "MZC0829/MLog"

3、run the following command:

$ carthage update

Requirements

  • iOS 9.0+
  • swift 3+ and swift 4

Usage

– just like

MLog("I am a MLog")

– output

***** log start *****
2017-11-21 20:57:57
fileName: ViewController.swift -> line: 18 -> func: viewDidLoad()
I am a MLog
*****  log end  *****

Latest podspec

{
    "name": "MLog",
    "version": "1.1.0",
    "summary": "Custom log output.",
    "description": "Custom log output. Contain file, function, line and time.",
    "homepage": "https://github.com/MZC0829/MLog",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "maizhichao": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/MZC0829/MLog.git",
        "tag": "1.1.0"
    },
    "source_files": "MLog/MLog.swift",
    "requires_arc": true,
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This