[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6487":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":28,"discoverSource":29},6487,"Logan","Meituan-Dianping\u002FLogan","Meituan-Dianping","Logan is a lightweight case logging system based on mobile platform.","https:\u002F\u002Ftech.meituan.com\u002Flogan_open_source.html",null,"C",6010,902,124,104,0,2,5,39.87,"MIT License",false,"master",true,[],"2026-06-12 02:01:25","\n# Logan\n\n[![license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-brightgreen.svg?style=flat)](https:\u002F\u002Fraw.githubusercontent.com\u002FMeituan-Dianping\u002FLogan\u002Fmaster\u002FLICENSE)\n[![Release Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002FMeituan-Dianping\u002FLogan.svg?maxAge=2592000?style=flat-square)](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Freleases)\n[![PRs Welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-brightgreen.svg)](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fpulls)\n[![Platform Support](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPlatform-%20iOS%20%7C%20Android%20-brightgreen.svg)](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fwiki)\n\n[中文说明](.\u002FREADME-zh.md)\n\n# Overview\nLogan is a log platform with ability to collect、store、upload and analyze front-end logs. We provide five components, including [iOS SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FiOS), [Android SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FExample\u002FLogan-Android), [Web SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FWebSDK), analysis services [Server SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FServer) and [LoganSite](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FLoganSite). In addition, we also provide a Flutter plugin [Flutter Plugin](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FFlutter).\n\n# Architecture\n![Logan](https:\u002F\u002Fmss-shon.sankuai.com\u002Fv1\u002Fmss_7d6cd84b52d543248bbb734abd392e9a\u002Flogan-open-source\u002Flogan_arch.png)\n\n## Overivew of LoganSite\n\n**Search Logs**\n\n![Logan](.\u002Fimg\u002Flogan_list_filter.gif)\n\n\n**Log Detail**\n\n![Logan](.\u002Fimg\u002Flogan_detail.gif)\n\n[How to use demo](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fwiki\u002FHow-to-use-demo)\n\n[Log protocol](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fwiki\u002FLog-protocol)\n\n# Quick Start\n\n## iOS SDK\n\n### How to use SDK in your project\n\nFirst create a file named Podfile, then copy the following code into the file. \n\n```\nsource 'https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FSpecs.git'\n\nplatform :ios, '8.0'\n\ntarget 'TargetName' do\n\npod 'Logan', '~> 1.2.5'\n\nend\n```\nFinally run the following command in root directory of your project.\n\n```\npod install \n```\n\n### iOS SDK document\n\nMore to see: \n[iOS SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FiOS)\n\n\n## Android SDK\n\n```\nAndroid Studio: Not required, version 3.4 or higher is recomand.\n\nNDK: r16b\n\nCMake: >= 3.4.1\n\nJdk: 1.7 or 1.8（recomand）\n```\n\n### Android SDK document\n\nMore to see: \n[Android SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FExample\u002FLogan-Android)\n\n\n## Web SDK\nWeb SDK supports logging in the H5 and browser environment.\n\n### Install\nInstall logan-web using `npm`:\n\n```\nnpm install --save logan-web\n```\n\nOr `yarn`:\n\n```\nyarn add logan-web\n```\n\n### Web SDK document\n\nMore to see: \n[Web SDK](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FWebSDK)\n\n\n## Server\n\n### Server document\n\n[Server](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FServer)\n\n\n## LoganSite\nLoganSite provides a visualized way for developers to scan and search logs uploaded from App and Web.\n\n### Environment\n```\nNode: ^10.15.3\nyarn: ^1.15.2 或 npm ^6.12.0\n```\n\n### Install\n\nFirst, clone the repository into to local.\n\nCreate `.env.development` in the directory of LoganSite,and set `API_BASE_URL` like below:\n```bash\nAPI_BASE_URL=http:\u002F\u002Flocation\u002Fto\u002Fyour\u002Fserver:port\n```\nThen execute the following command：\n```\n$ cd $LOGAN_SITE\n$ npm install\n$ npm run start\n```\nor\n```\n$ cd $LOGAN_SITE\n$ yarn\n$ yarn start\n```\n\n#### Build\n\nFirst, clone the repository into to local.\n\nReplace the fourth line in LoganSite\u002Fsrc\u002Fcommon\u002Fapi.js with follow:\n```javascript\nconst BASE_URL = \"http:\u002F\u002Flocation\u002Fto\u002Fyour\u002Fserver:port\"\n```\nThen execute the following command：\n```\n$ cd $LOGAN_SITE\n$ npm install\n$ npm run build\n```\nor\n```\n$ cd $LOGAN_SITE\n$ yarn\n$ yarn build\n```\n\n### LoganSite document\n\nMore to see: \n[LoganSite](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Ftree\u002Fmaster\u002FLogan\u002FLoganSite)\n\n\n# Best Practices\n\nBefore Logan available, log report system is relatively scattered.\n\n![Before_Logan](https:\u002F\u002Fmss-shon.sankuai.com\u002Fv1\u002Fmss_7d6cd84b52d543248bbb734abd392e9a\u002Flogan-open-source\u002Fbefore_logan.png)\n\nTo put it simply, the traditional idea is to piece together the problems that appear in the logs of each system, but the new idea is to aggregate and analyze all the logs generated by the user to find the scenes with problems.\n\nThe Logan core system consists of four modules:\n\n- Input\n- Storage\n- BackEnd\n- FrontEnd\n\n![Logan_Process](https:\u002F\u002Fmss-shon.sankuai.com\u002Fv1\u002Fmss_7d6cd84b52d543248bbb734abd392e9a\u002Flogan-open-source\u002Flogan_process.png)\n\nThe new case analysis process is as follows:\n\n![Logan_Case](https:\u002F\u002Fmss-shon.sankuai.com\u002Fv1\u002Fmss_7d6cd84b52d543248bbb734abd392e9a\u002Flogan-open-source\u002Flogan_case.png)\n\n\n# Feature\n\nIn the future, we will provide a data platform based on Logan big data, including advanced functions such as machine learning, troubleshooting log solution, and big data feature analysis.\n\nFinally, we hope to provide a more complete integrated case analysis ecosystem.\n\n![Logan_System](https:\u002F\u002Fmss-shon.sankuai.com\u002Fv1\u002Fmss_7d6cd84b52d543248bbb734abd392e9a\u002Flogan-open-source\u002Flogan_system.png)\n\n| Module | Open Source | Processing | Planning |\n| :------: | :--: | :-----: | :-: |\n| iOS & macOS |   √  |        |    |\n| Android | √ |  |  |\n| Web |  | √ |  |\n| Mini Programs |  | √ |  |\n| Back End |  |  | √ |\n| Front End |  |  | √ |\n\n# Contributing\n\n**For more information about contributing PRs and issues, see our [Contribution Guidelines](.\u002FCONTRIBUTING.md).**\n\n# Authors\n\n* **White Bai** - Core Developer - [baitian0521](https:\u002F\u002Fgithub.com\u002Fbaitian0521)\n\n* **Richard Cao** - Core Developer - [Richard-Cao](https:\u002F\u002Fgithub.com\u002FRichard-Cao)\n\n* **jiangteng** - Core Developer - [jiangteng](https:\u002F\u002Fgithub.com\u002Fjiangteng)\n\n* **yangxiangnan** - Core Developer - [yangxiangnan](https:\u002F\u002Fgithub.com\u002Fyangxiangnan)\n\n* **Mr-xiaojun** - Core Developer - [Mr-xiaojun](https:\u002F\u002Fgithub.com\u002FMr-xiaojun)\n\nSee also the list of [contributors](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fgraphs\u002Fcontributors) who participated in this project.\n\n# Contact\n\nWeChat ID: \n\nMTDPtech, MTDPtech01, MTDPtech03\n\n# License\n\nLogan is licensed under the MIT License - see the [LICENSE](https:\u002F\u002Fgithub.com\u002FMeituan-Dianping\u002FLogan\u002Fblob\u002Fmaster\u002FLICENSE) file for details.\n\n# Article\n[A lightweight case logging system based on mobile platform developed by Meituan-Dianping — Logan](https:\u002F\u002Ftech.meituan.com\u002FLogan.html)\n\n[Logan: Open Source](https:\u002F\u002Ftech.meituan.com\u002Flogan_open_source.html)\n\n[Introduction to Logan Web SDK](https:\u002F\u002Ftech.meituan.com\u002F2020\u002F01\u002F09\u002Fmeituan-logan.html)\n\n# Acknowledgments\n- [mbedtls](https:\u002F\u002Fgithub.com\u002FARMmbed\u002Fmbedtls)\n- [cJSON](https:\u002F\u002Fgithub.com\u002FDaveGamble\u002FcJSON)\n","Logan 是一个基于移动端的轻量级日志系统。该项目支持日志的收集、存储、上传和分析，提供iOS SDK、Android SDK、Web SDK、服务端SDK以及可视化平台LoganSite五个主要组件，还特别为Flutter应用提供了插件支持。采用C语言编写，确保了高效与稳定。Logan非常适合需要对移动或Web应用程序进行前端日志管理及问题排查的应用场景，如产品开发过程中遇到的错误追踪、性能监控等。通过Logan，开发者可以轻松实现跨平台的日志记录与分析工作。","2026-06-11 03:07:13","top_language"]