console-log-h5
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

console-log-h5

console.log,方便在移动设备上查看log

Coverage Status

Usage

顶部btn栏可拖动log面板

import 'console-log-h5';

// 正常打印log
console.log(['H', 'a', 'p', 'p', 'y'], {a: 1, b: 6});
// 彩色打印log 
console.log('%c red log', '#f00');
// 过滤log
console.log('[ignore] 被过滤的log');

// 开启“打印error”后,可打印js error信息

Readme

Keywords

Package Sidebar

Install

npm i console-log-h5

Weekly Downloads

2

Version

1.1.7

License

MIT

Unpacked Size

51.3 kB

Total Files

11

Last publish

Collaborators

  • lamo