Skip to content

Latest commit

 

History

History
47 lines (22 loc) · 726 Bytes

File metadata and controls

47 lines (22 loc) · 726 Bytes

LWHTTPProfiler v1.0.0

About

iOS tool that helps with profiling HTTP message print in Xcode console.

Usage

#ifdef DEBUG
//turn on
[LWHTTPProfiler setEnabled:YES];
#else
//turn off
[LWHTTPProfiler setEnabled:NO];
#endif

then,the http message log is printed automatically in the Xcode console like this

If you do not want to print a message you can disable him with URL

[LWHTTPProfiler setIgnoreArray:@[@"http://www.xxxxxx.xx"]];

License

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