Giter Site home page Giter Site logo

engsshi / react-native-xlog Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 5.0 4.44 MB

WeCha's xlog for react-native. Xlog is a reliable log component with high-performance.

License: MIT License

JavaScript 5.85% Objective-C 19.01% Objective-C++ 27.29% Java 47.85%
crash-log react-native xlog

react-native-xlog's People

Contributors

caijiacheng avatar engsshi avatar yustnip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-native-xlog's Issues

howto view the logs?

I integrated it and it produced me 2 files:

  • myapp.mmap2
  • myapp_20170723.xlog

Both files are binary and cannot be viewed my any text editor.
So how can I access and view these log files?

请问还能再提问吗?Runtime is not ready for debugging. Make sure Packager server is running

平台:iOS
RN: 0.57.8
react: 16.8.3
mars:用的最新的,重新打了个framework
有个场景,产生了大量的日志数据:首先,启动项目,command+D,选择debugger模式,然后点击示例中的crash,(可以根据xcode控制台那边的路径找到日志文件)产生日志文件,之后,将服务关闭,此时可以看到日志文件一直在增大,解压之后,发现都是
[F][2019-05-10 +8.0 20:17:35.356][0, 105553120254336][log][FMXXlog.mm, setRCTLog, 131][2019-05-10 20:17:35.357 [fatal][tid:com.facebook.react.WebSocketExecutor] Runtime is not ready for debugging. Make sure Packager server is running.

这样的报错,每毫秒都产生一条,几十秒之内,日志文件都快破10M了

想请问一下又什么方法可以debugger模式下,不捕获的异常

Could not find com.tencent.mars:mars-xlog:1.0.1.

Build failed with the following error:

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.tencent.mars:mars-xlog:1.0.1.

XLogBridge.installUncaughtCrashHandler is not a function

//开启日志管理模块

>    XLog.open();

>    XLog.installUncaughtCrashHandler();

初始化上述模块的时候,出现警告信息:

TypeError: XLogBridge.installUncaughtCrashHandler is not a function
TypeError: XLogBridge.installUncaughtCrashHandler is not a function

并且在XLogModule.java中也没有看到installUncaughtCrashHandler 方法

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.