{"id":23900709,"url":"https://github.com/pcjbird/ioslogbrowsersdk","last_synced_at":"2025-09-25T20:52:01.565Z","repository":{"id":64288005,"uuid":"126268374","full_name":"pcjbird/iOSLogBrowserSDK","owner":"pcjbird","description":"A real-time iOS log tracing tool that enables viewing iOS logs on a PC web browser within a local area network. The log display automatically scrolls similar to Xcode console. 一个实时的 iOS 日志追踪工具，可以在本地区域网络内通过 PC 网页浏览器查看 iOS 日志，他将类似 Xcode 控制台一样自动滚动显示日志。","archived":false,"fork":false,"pushed_at":"2024-11-18T09:27:34.000Z","size":1868,"stargazers_count":24,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-19T14:49:20.852Z","etag":null,"topics":["automatically","browser","console","developer-tools","ios","local-area-network","log","logger","monitor","pc","real-time","realtime","scroll","tester","tool","trace","viewer","web","xcode"],"latest_commit_sha":null,"homepage":"https://pcjbird.github.io/iOSLogBrowserSDK/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcjbird.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-22T02:31:08.000Z","updated_at":"2025-01-14T12:40:05.000Z","dependencies_parsed_at":"2024-08-15T10:17:07.499Z","dependency_job_id":"2bc08500-961c-473e-995a-9549d359abcb","html_url":"https://github.com/pcjbird/iOSLogBrowserSDK","commit_stats":null,"previous_names":["pcjbird/ioslogbrowsersdk","pcjbird/quicktraceioslogger"],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FiOSLogBrowserSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FiOSLogBrowserSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FiOSLogBrowserSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FiOSLogBrowserSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcjbird","download_url":"https://codeload.github.com/pcjbird/iOSLogBrowserSDK/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298148,"owners_count":21080313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatically","browser","console","developer-tools","ios","local-area-network","log","logger","monitor","pc","real-time","realtime","scroll","tester","tool","trace","viewer","web","xcode"],"created_at":"2025-01-04T20:36:51.739Z","updated_at":"2025-09-25T20:52:01.463Z","avatar_url":"https://github.com/pcjbird.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](https://github.com/pcjbird/iOSLogBrowserSDK/raw/master/logo.png)\n\n[![Pod Version](http://img.shields.io/cocoapods/v/iOSLogBrowserSDK.svg?style=flat)](https://cocoapods.org/pods/iOSLogBrowserSDK)\n[![Pod Platform](http://img.shields.io/cocoapods/p/iOSLogBrowserSDK.svg?style=flat)](https://cocoapods.org/pods/iOSLogBrowserSDK)\n[![Pod License](http://img.shields.io/cocoapods/l/iOSLogBrowserSDK.svg)]()\n[![GitHub release](https://img.shields.io/github/release/pcjbird/iOSLogBrowserSDK.svg)](https://github.com/pcjbird/iOSLogBrowserSDK/releases)\n[![GitHub release](https://img.shields.io/github/release-date/pcjbird/iOSLogBrowserSDK.svg)](https://github.com/pcjbird/iOSLogBrowserSDK/releases)\n[![Website](https://img.shields.io/website-pcjbird-down-green-red/https/shields.io.svg?label=author)](https://pcjbird.github.io)\n\n# iOSLogBrowserSDK\n\n### A real-time iOS log tracing tool that enables viewing iOS logs on a PC web browser within a local area network. The log display automatically scrolls similar to Xcode console.\n\n一个实时的 iOS 日志追踪工具，可以在本地区域网络内通过 PC 网页浏览器查看 iOS 日志，他将类似 Xcode 控制台一样自动滚动显示日志。\n\n## 特性 / Features\n\n1. 一边操作一边查看输出日志，实时日志跟踪，无须手动刷新。\n2. 适用所有浏览器，无需配备 Mac 电脑。\n3. 无需数据线连接电脑。\n4. 支持多台电脑同时监听日志。\n\n## 演示 / Demo\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://github.com/pcjbird/iOSLogBrowserSDK/raw/master/demo.jpg\" title=\"demo\"\u003e\u003c/p\u003e\n\n## 安装 / Installation\n\n方法一：`iOSLogBrowserSDK` is available through CocoaPods. To install it, simply add the following line to your Podfile:\n\n```ruby\npod 'iOSLogBrowserSDK'\npod 'Reachability'\n```\n\n## 使用 / Usage\n\n```objc\n#import \u003cXLFacility/XLFacilityMacros.h\u003e\n#import \u003ciOSLogBrowserSDK/iOSLogBrowserSDK.h\u003e\n#import \u003cReachability/Reachability.h\u003e\n```\n\n```objc\n@interface AppDelegate ()\n\n@property(nonatomic, assign) BOOL started;\n\n@end\n```\n\n```objc\n\n@implementation AppDelegate\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {\n      // Override point for customization after application launch.\n      self.started = NO;\n      Reachability* reachability = [Reachability reachabilityForLocalWiFi];\n      if([reachability isReachable])\n      {\n          [self start];\n      }\n      __weak typeof(self) weakSelf = self;\n      reachability.reachableBlock = ^(Reachability *reachability) {\n          NSLog(@\"%@\", @\"网络可用\");\n          __strong typeof(self) strongSelf = weakSelf;\n          if(!strongSelf) return;\n          if(strongSelf.started)\n          {\n              return;\n          }\n          [strongSelf start];\n      };\n      reachability.unreachableBlock = ^(Reachability *reachability) {\n          NSLog(@\"%@\", @\"网络不可用\");\n      };\n      [reachability startNotifier];\n      return YES;\n}\n\n-(void) start\n{\n    iOSLogBrowserOption* option = [iOSLogBrowserOption defaultOption];\n    option.suspendInBackground = YES;\n    [iOSLogBrowserSDK startWithOption:option];\n\n    XLOG_INFO(@\"%@\", @\"您正在使用 iOS 局域网日志查看服务！\");\n    self.started = YES;\n}\n\n@end\n\n```\n\n⚠️ 重要提醒:\n\n1. 如果是在 iOS 真机设备上使用，请确保您的 App 拥有访问本地 WiFi 的权限。\n\n## 关注我们 / Follow us\n\n\u003ca href=\"https://itunes.apple.com/cn/app/iclock-一款满足-挑剔-的翻页时钟与任务闹钟/id1128196970?pt=117947806\u0026ct=com.github.pcjbird.QuickTraceiOSLogger\u0026mt=8\"\u003e\u003cimg src=\"https://github.com/pcjbird/AssetsExtractor/raw/master/iClock.gif\" width=\"400\" title=\"iClock - 一款满足“挑剔”的翻页时钟与任务闹钟\"\u003e\u003c/a\u003e\n\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=https://github.com/pcjbird/QuickTraceiOSLogger)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pcjbird.svg?style=social)](https://twitter.com/pcjbird)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fioslogbrowsersdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcjbird%2Fioslogbrowsersdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fioslogbrowsersdk/lists"}