Custom log output. Contain file, function, line and time.
platform :ios, '9.0'
target 'YourIosApps' do
use_frameworks!
pod 'MLog', '~> 1.1.0'
end
$ pod install
$ touch Cartfile
github "MZC0829/MLog"
$ carthage update
>
MLog("I am a MLog")
***** log start *****
2017-11-21 20:57:57
fileName: ViewController.swift -> line: 18 -> func: viewDidLoad()
I am a MLog
***** log end *****