[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7180":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":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},7180,"timber","JakeWharton\u002Ftimber","JakeWharton","A logger with a small, extensible API which provides utility on top of Android's normal Log class.","https:\u002F\u002Fjakewharton.github.io\u002Ftimber\u002Fdocs\u002F5.x\u002F",null,"Kotlin",10830,988,244,48,0,19,70.89,"Apache License 2.0",false,"trunk",true,[],"2026-06-12 04:00:32","![Timber](logo.png)\n\nThis is a logger with a small, extensible API which provides utility on top of Android's normal\n`Log` class.\n\nI copy this class into all the little apps I make. I'm tired of doing it. Now it's a library.\n\nBehavior is added through `Tree` instances. You can install an instance by calling `Timber.plant`.\nInstallation of `Tree`s should be done as early as possible. The `onCreate` of your application is\nthe most logical choice.\n\nThe `DebugTree` implementation will automatically figure out from which class it's being called and\nuse that class name as its tag. Since the tags vary, it works really well when coupled with a log\nreader like [Pidcat][1].\n\nThere are no `Tree` implementations installed by default because every time you log in production, a\npuppy dies.\n\n\nUsage\n-----\n\nTwo easy steps:\n\n 1. Install any `Tree` instances you want in the `onCreate` of your application class.\n 2. Call `Timber`'s static methods everywhere throughout your app.\n\nCheck out the sample app in `timber-sample\u002F` to see it in action.\n\n\nLint\n----\n\nTimber ships with embedded lint rules to detect problems in your app.\n\n *  **TimberArgCount** (Error) - Detects an incorrect number of arguments passed to a `Timber` call for\n    the specified format string.\n\n        Example.java:35: Error: Wrong argument count, format string Hello %s %s! requires 2 but format call supplies 1 [TimberArgCount]\n            Timber.d(\"Hello %s %s!\", firstName);\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n *  **TimberArgTypes** (Error) - Detects arguments which are of the wrong type for the specified format string.\n\n        Example.java:35: Error: Wrong argument type for formatting argument '#0' in success = %b: conversion is 'b', received String (argument #2 in method call) [TimberArgTypes]\n            Timber.d(\"success = %b\", taskName);\n                                     ~~~~~~~~\n *  **TimberTagLength** (Error) - Detects the use of tags which are longer than Android's maximum length of 23.\n\n        Example.java:35: Error: The logging tag can be at most 23 characters, was 35 (TagNameThatIsReallyReallyReallyLong) [TimberTagLength]\n            Timber.tag(\"TagNameThatIsReallyReallyReallyLong\").d(\"Hello %s %s!\", firstName, lastName);\n            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n *  **LogNotTimber** (Warning) - Detects usages of Android's `Log` that should be using `Timber`.\n\n        Example.java:35: Warning: Using 'Log' instead of 'Timber' [LogNotTimber]\n            Log.d(\"Greeting\", \"Hello \" + firstName + \" \" + lastName + \"!\");\n                ~\n\n *  **StringFormatInTimber** (Warning) - Detects `String.format` used inside of a `Timber` call. Timber\n    handles string formatting automatically.\n\n        Example.java:35: Warning: Using 'String#format' inside of 'Timber' [StringFormatInTimber]\n            Timber.d(String.format(\"Hello, %s %s\", firstName, lastName));\n                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n *  **BinaryOperationInTimber** (Warning) - Detects string concatenation inside of a `Timber` call. Timber\n    handles string formatting automatically and should be preferred over manual concatenation.\n\n        Example.java:35: Warning: Replace String concatenation with Timber's string formatting [BinaryOperationInTimber]\n            Timber.d(\"Hello \" + firstName + \" \" + lastName + \"!\");\n                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n *  **TimberExceptionLogging** (Warning) - Detects the use of null or empty messages, or using the exception message\n    when logging an exception.\n\n        Example.java:35: Warning: Explicitly logging exception message is redundant [TimberExceptionLogging]\n             Timber.d(e, e.getMessage());\n                         ~~~~~~~~~~~~~~\n\n\nDownload\n--------\n\n```groovy\nrepositories {\n  mavenCentral()\n}\n\ndependencies {\n  implementation 'com.jakewharton.timber:timber:5.0.1'\n}\n```\n\nDocumentation is available at [jakewharton.github.io\u002Ftimber\u002Fdocs\u002F5.x\u002F](https:\u002F\u002Fjakewharton.github.io\u002Ftimber\u002Fdocs\u002F5.x\u002F).\n\n\u003Cdetails>\n\u003Csummary>Snapshots of the development version are available in Sonatype's snapshots repository.\u003C\u002Fsummary>\n\u003Cp>\n\n```groovy\nrepositories {\n  mavenCentral()\n  maven {\n    url 'https:\u002F\u002Fcentral.sonatype.com\u002Frepository\u002Fmaven-snapshots\u002F'\n  }\n}\n\ndependencies {\n  implementation 'com.jakewharton.timber:timber:5.1.0-SNAPSHOT'\n}\n```\n\nSnapshot documentation is available at [jakewharton.github.io\u002Ftimber\u002Fdocs\u002Flatest\u002F](https:\u002F\u002Fjakewharton.github.io\u002Ftimber\u002Fdocs\u002Flatest\u002F).\n\n\u003C\u002Fp>\n\u003C\u002Fdetails>\n\n\nLicense\n-------\n\n    Copyright 2013 Jake Wharton\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n\n [1]: http:\u002F\u002Fgithub.com\u002FJakeWharton\u002Fpidcat\u002F\n [snap]: https:\u002F\u002Foss.sonatype.org\u002Fcontent\u002Frepositories\u002Fsnapshots\u002F\n","Timber是一个为Android应用提供简洁可扩展日志记录API的库，它在Android标准Log类的基础上增加了更多实用功能。该项目使用Kotlin编写，核心特性包括通过`Tree`实例来添加自定义行为，并且默认不包含任何`Tree`实现以避免生产环境中不必要的日志输出。特别适合需要对应用程序进行调试和性能分析的场景下使用。此外，Timber还内置了Lint规则帮助开发者检测代码中可能存在的问题，如格式化字符串错误、标签长度过长等，从而提高开发效率与代码质量。",2,"2026-06-11 03:11:01","top_language"]