TDLog 1.0.3

TDLog 1.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2016

Maintained by thuydd.



TDLog 1.0.3

  • By
  • Thuỷ Đào

Usage

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

Demo

Requirements

Installation

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

pod "TDLog"

Configure

  1. Project > Build Phases > Link Binary Libraries > add "TDLog.framework"
  2. Project > Build Phases > Copy Bundle Resources > add "TDLog.bundle"

Use TDLog

TDLOG(@"%@","content log");

Use Float Icon

[[TDLogManagement td_sharedInstance] td_show];

Filter follow color

[[TDLogManagement td_sharedInstance].td_LogFilter setValue:@"text need highlight 1" forKey:L_Red];
[[TDLogManagement td_sharedInstance].td_LogFilter setValue:@"text need highlight 2" forKey:L_LimeGreen];

Handle Crash (send mail)

//STEP1: You need add email of feeback on 'TD_EmailDevelopment' field in split file!!! ***";

//STEP2: Insert '[TDEngineLog td_sharedManager];' into 'application:didFinishLaunchingWithOptions:'. The app will auto detect crash. So, enduser can choose the option to send crash log to mail did configure in above

Author

Mr Sa, [email protected]

License

TDLog is available under the MIT license. See the LICENSE file for more info.