Coder Social home page Coder Social logo

airlog's Introduction

AirLog

NPM version NPM downloads

基于 WebSocket 和 Vue 的前端远程实时 LOG 工具,适用于手机调试和远程调试

  • 远程实时查看和筛选 LOG 信息
  • 查看网页性能信息
  • 可将 LOG 导出为 JSON 格式的文件

Install

npm install airlog

Run

Server

启动 airlog server , 可自定义端口号,默认为 3000

cd node_modules/airlog
node airlog-server.js 3000

Client

根据提示信息添加 script 标签,你可以配置 al-level , 默认为 default ,当设置为 error 时,将只打印错误信息

<script id="airlog" al-level="default" src="//{your_host}:{your_port}/airlog-client.js"></script>

打开你配置的地址,如 localhost:3000 查看 LOG 信息。

airlog's People

Contributors

bigggge avatar

Watchers

 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.