Coder Social home page Coder Social logo

loggerview's Introduction

LoggerView

可以在APP上查看log日志的工具类

使用方法,把Logger.java文件拷贝到你项目的工具包下面即可

初始化方法: 在application 的 onCreate() 方法初始化

Logger.init(this);

在APP上唤起log日志悬浮窗界面方法,点击事件,屏幕任意位置快速点击3下,然后慢速点击3下,再快速点击3下(SOS的摩斯电码)

以上操作是为了增加误触难度,(再次按上面方法可以关闭)新增长按悬浮窗标题栏关闭悬浮窗

在log界面显示的时候,若要唤起log筛选器,在屏幕顶部200像素内,快速单击5下(新增点击悬浮窗标题栏也可唤起);

本工具类具有功能:

1.任意界面可唤起日志悬浮窗,显示app即时日志,可过滤筛选日志,可单击日志放大,清空;

2.捕捉app崩溃日志。即时弹窗显示崩溃信息,分2种情况,activity启动时崩溃会打开浏览器展示崩溃日志,其它崩溃直接弹窗;

3.兼容其它异常捕捉框架(测试中。。。)

4.若遇到view在切后台时空白等跟本工具类冲突的情况,请在activity上注解@Logger.IgnoreLoggerView不展示悬浮窗

loggerview's People

Contributors

jarryleo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.