All Projects → getActivity → Logcat

getActivity / Logcat

Licence: apache-2.0
Android 日志打印框架,在手机上可以直接看到 Logcat 日志啦

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Logcat

Acho
The Hackable Log
Stars: ✭ 189 (+0%)
Mutual labels:  logging, log, logger, debugger, debug
Cocoadebug
iOS Debugging Tool 🚀
Stars: ✭ 3,769 (+1894.18%)
Mutual labels:  logging, log, logger, debugger, debug
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-70.37%)
Mutual labels:  logging, logger, debugger, debug
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (-89.95%)
Mutual labels:  debugger, log, logger, debug
Plog
Portable, simple and extensible C++ logging library
Stars: ✭ 1,061 (+461.38%)
Mutual labels:  logging, log, logger
Wormholy
iOS network debugging, like a wizard 🧙‍♂️
Stars: ✭ 2,010 (+963.49%)
Mutual labels:  logging, logger, debugger
Yii2 Psr Log Target
Yii 2.0 log target that is able to write messages to PSR-3 compatible logger
Stars: ✭ 58 (-69.31%)
Mutual labels:  logging, log, logger
React Native Logs
Performance-aware simple logger for React-Native with namespaces, custom levels and custom transports (colored console, file writing, etc.)
Stars: ✭ 84 (-55.56%)
Mutual labels:  logging, logger, debug
Gollum
An n:m message multiplexer written in Go
Stars: ✭ 883 (+367.2%)
Mutual labels:  logging, log, logger
Android Filelogger
A general-purpose logging library with built-in support to save logs to file efficiently.
Stars: ✭ 70 (-62.96%)
Mutual labels:  logging, log, logger
Heliumlogger
A lightweight logging framework for Swift
Stars: ✭ 169 (-10.58%)
Mutual labels:  logging, log, logger
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-73.02%)
Mutual labels:  logging, log, logger
Fliplog
fluent logging with verbose insight, colors, tables, emoji, filtering, spinners, progress bars, timestamps, capturing, stack traces, tracking, presets, & more...
Stars: ✭ 41 (-78.31%)
Mutual labels:  logging, log, debug
Easylogger
An ultra-lightweight(ROM<1.6K, RAM<0.3k), high-performance C/C++ log library. | 一款超轻量级(ROM<1.6K, RAM<0.3k)、高性能的 C/C++ 日志库
Stars: ✭ 1,968 (+941.27%)
Mutual labels:  logging, log, logger
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-82.54%)
Mutual labels:  logging, log, logger
Loguru
Python logging made (stupidly) simple
Stars: ✭ 10,510 (+5460.85%)
Mutual labels:  logging, log, logger
Serverlog
A simple, practical and innovative Node.js log library that enables you to view logs in Chrome dev tools and browser Console.
Stars: ✭ 117 (-38.1%)
Mutual labels:  logging, log, logger
Android Remote Debugger
A library for remote logging, database debugging, shared preferences and network requests
Stars: ✭ 132 (-30.16%)
Mutual labels:  logging, logger, debug
gxlog
A concise, functional, flexible and extensible logger for go.
Stars: ✭ 65 (-65.61%)
Mutual labels:  log, logger, logging
Node Lambda Log
Basic logging mechanism for Node 6.10+ Lambda Functions
Stars: ✭ 115 (-39.15%)
Mutual labels:  logging, log, logger

日志调试框架

集成步骤

dependencies {
    // 日志调试框架:https://github.com/getActivity/Logcat
    debugImplementation 'com.hjq:logcat:9.5'
}

使用方式

  • 无需调用,直接运行,然后授予悬浮窗权限即可

  • 在 debug 模式下运行即可,在 release 正式打包的时不会集成本库,尽管放心

截图欣赏

日志颜色个性化

在项目的 values/color.xml 中加入你喜欢的配色,例如

<color name="logcat_level_verbose_color">#FFBBBBBB</color>
<color name="logcat_level_debug_color">#FF33B5E5</color>
<color name="logcat_level_info_color">#FF99CC00</color>
<color name="logcat_level_warn_color">#FFFFBB33</color>
<color name="logcat_level_error_color">#FFFF4444</color>
<color name="logcat_level_other_color">#FFFFFFFF</color>

框架亮点

  • 只需集成,无需调用

  • 日志长按可复制分享

  • 支持将日志保存到本地

  • 长日志点击可收缩展开显示

  • 日志搜索结果支持文本高亮

  • 支持对指定 TAG 的日志屏蔽

  • 多个相同 TAG 日志自动合并显示

  • 仅在 Debug 下集成,无需手动初始化

作者的其他开源项目

Android技术讨论Q群:78797078

微信公众号:Android轮子哥

如果您觉得我的开源库帮你节省了大量的开发时间,请扫描下方的二维码随意打赏,要是能打赏个 10.24 🐵就太👍了。您的支持将鼓励我继续创作

点击查看捐赠列表

License

Copyright 2020 Huang JinQun

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].