{"id":15035689,"url":"https://github.com/pengwei1024/logutils","last_synced_at":"2025-04-12T16:35:32.527Z","repository":{"id":47193777,"uuid":"39195077","full_name":"pengwei1024/LogUtils","owner":"pengwei1024","description":"More convenient and easy to use android Log manager","archived":false,"fork":false,"pushed_at":"2019-08-12T13:06:34.000Z","size":3165,"stargazers_count":1105,"open_issues_count":25,"forks_count":226,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-03T16:14:06.370Z","etag":null,"topics":["android","filelog","filelogger","java","log","logcat","logger","logutils"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pengwei1024.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-16T12:16:29.000Z","updated_at":"2025-01-07T02:05:53.000Z","dependencies_parsed_at":"2022-09-05T23:42:03.273Z","dependency_job_id":null,"html_url":"https://github.com/pengwei1024/LogUtils","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FLogUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FLogUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FLogUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FLogUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pengwei1024","download_url":"https://codeload.github.com/pengwei1024/LogUtils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248597160,"owners_count":21130825,"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":["android","filelog","filelogger","java","log","logcat","logger","logutils"],"created_at":"2024-09-24T20:29:11.988Z","updated_at":"2025-04-12T16:35:32.505Z","avatar_url":"https://github.com/pengwei1024.png","language":"Java","readme":"# LogUtils\n\n![](https://img.shields.io/badge/Logutil-1.7.5-blue.svg)\n![Codecov](https://img.shields.io/badge/log2File-1.3.1-brightgreen.svg)\n\n#### More convenient and easy to use android Log manager\n\n## Features\n* 支持直接打印数据集合, 如List、Set、Map、数组等\n* 全局配置log输出, 个性化设置Tag\n* 准确显示调用方法、行，快速定位日志所在文件位置\n* 支持android系统复杂对象Intent、Bundle、Message等打印\n* 提供空实现 release-no-op版本\n* 支持高性能日志写入文件(基于mmap)\n* 兼容Android Studio 3.1 日志格式\n\n\n## Usage\n\n```groovy\nimplementation 'com.apkfuns.logutils:library:1.7.5'\n```\n\n#### release-no-op版本  (debug输出日志, release空实现)\n```groovy\ndebugImplementation 'com.apkfuns.logutils:library:1.7.5'\nreleaseImplementation 'com.apkfuns.logutils:logutils-no-op:1.7.5'\n```\n\n#### 日志写入到文件 (基于[Log4a](https://github.com/pqpo/Log4a)实现）\n\n```java\nimplementation 'com.apkfuns.log2file:log2file:1.3.1'\n\n\n// 设置日志写文件引擎\nLogUtils.getLog2FileConfig().configLogFileEngine(new LogFileEngineFactory(context));\n```\n\n别忘了添加写文件权限\n\n```\n\u003cuses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/\u003e\n```\n\n## Wiki\n[使用教程](./README_USAGE.md)\n\n\n## License\n\u003cpre\u003e\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\u003c/pre\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengwei1024%2Flogutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpengwei1024%2Flogutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengwei1024%2Flogutils/lists"}