Skip to content
/ msLog Public

log for webView & webApp 用于webView和webApp的log工具

Notifications You must be signed in to change notification settings

baim216/msLog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abstract 简介

log for webView & webApp

A tool imitate the browser console on webView or webApp;

No depend other plugin of javascript(no jquery);

用于webView和webApp的log工具

模拟浏览器的控制台的log功能,可用于webView或者webApp;

不依赖其他js插件(如jquery等)

example 例子

example

QR Code (可以使用手机扫描二维码)

use 使用

var msLog = new MagicSquareLog();

msLog.log(11111); 
// 11111

msLog.log([1,2,3]);
// [1,2,3]

msLog.error(11111, "I am the log", {name: "msLog"}, [1,2,3]); 
//11111 I am the log {"name":"msLog"} [1,2,3]

API

name type defaultParams description
log function "" default log function
error function "" the color of text is red

change log

changeLog

License

MIT

About

log for webView & webApp 用于webView和webApp的log工具

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages