Latest 1.0.0
Homepage https://github.com/AppleDP/WQConsole
License MIT
Platforms ios 7.0, requires ARC
Authors

在App运行页面打印控制台日志

Effect

Usage

-application:didFinishLaunchingWithOptions 函数延时调用

    WQShareConsole.consoleColor = [UIColor blackColor];
    [WQShareConsole performSelector:@selector(openViewLog)
                         withObject:nil
                         afterDelay:0.5];

WQConsole.h 中可以打开 NSLog 函数的日志在App运行页面输出

    #if 1
        // 打开 NSLog 监听
        #define NSLog(FORMAT,...) [WQShareConsole log:nil 
                                                 file:[[NSString stringWithUTF8String:__FILE__] lastPathComponent] 
                                                 line:__LINE__ 
                                               thread:[NSThread currentThread] 
                                                  log:(FORMAT), ## __VA_ARGS__]
    #endif

Latest podspec

{
    "name": "WQConsole",
    "version": "1.0.0",
    "summary": "u5728Appu8fd0u884cu9875u9762u8f93u51fau65e5u5fd7",
    "description": "u5728Appu8fd0u884cu9875u9762u663eu793aXcodeu63a7u5236u53f0u8f93u51fau7684u65e5u5fd7",
    "homepage": "https://github.com/AppleDP/WQConsole",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "AppleDP": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/AppleDP/WQConsole.git",
        "tag": "1.0.0"
    },
    "source_files": "WQConsole/**/WQConsole/*.{h,m}"
}

Pin It on Pinterest

Share This